Information for serializing a shader, including GPU instructions and metadata.
typedef struct D3D12XBOX_SERIALIZE_SHADER {
ID3DBlob *pGpuInstructions;
ID3DBlob *pMetaData;
} D3D12XBOX_SERIALIZE_SHADER;
pGpuInstructions
Outputs the serialized GPU instructions, as a pointer to ID3DBlob. pGpuInstructions points to copies of the raw shader GPU instructions as supplied by ID3D12Device::SerializeGraphicsPipelineStateX.
pMetaData
Outputs the serialized metadata, as a pointer to ID3DBlob. Some shaders may have a pGpuInstructions blob but not a corresponding pMetaData blob.
This structure is used by the D3D12XBOX_SERIALIZE_GRAPHICS_PIPELINE_STATE structure.
For usage, see SerializeGraphicsPipelineStateX.
Header: Declared in d3d12_x.h.