D3D12DDIARG_CREATE_SHADER_0026 structure (d3d12umddi.h)

The D3D12DDIARG_CREATE_SHADER_0026 structure contains the parameters that the display driver uses to create a shader.

Syntax

typedef struct D3D12DDIARG_CREATE_SHADER_0026 {
  D3D12DDI_HROOTSIGNATURE         hRootSignature;
  const UINT                      *pShaderCode;
  union {
    const D3D12DDIARG_STAGE_IO_SIGNATURES        *Standard;
    const D3D12DDIARG_TESSELLATION_IO_SIGNATURES *Tessellation;
    const D3D12DDIARG_MESH_IO_SIGNATURES         *Mesh;
  } IOSignatures;
  D3D12DDI_CREATE_SHADER_FLAGS    Flags;
  D3D12DDI_LIBRARY_REFERENCE_0010 LibraryReference;
  D3D12DDI_SHADERCACHE_HASH       ShaderCodeHash;
} D3D12DDIARG_CREATE_SHADER_0026;

Members

hRootSignature

Handle to a root signature.

pShaderCode

Pointer to the shader code.

IOSignatures

IO signature.

IOSignatures.Standard

Pointer to a D3D12DDIARG_STAGE_IO_SIGNATURES structure.

IOSignatures.Tessellation

Pointer to a D3D12DDIARG_TESSELLATION_IO_SIGNATURES structure.

IOSignatures.Mesh

Pointer to a D3D12DDIARG_MESH_IO_SIGNATURES structure.

Flags

A D3D12DDI_CREATE_SHADER_FLAGS value specifying the flags for shader creation.

LibraryReference

A D3D12DDI_LIBRARY_REFERENCE_0010 structure describing a pipeline library.

ShaderCodeHash

A D3D12DDI_SHADERCACHE_HASH structure containing a hash value to associate with the shader for shader cache lookup.

Remarks

See the Mesh Shader specification for more information.

Requirements

Requirement Value
Minimum supported client Windows 10, version 2004
Header d3d12umddi.h

See also

D3D12DDI_CREATE_SHADER_FLAGS

D3D12DDI_LIBRARY_REFERENCE_0010

D3D12DDI_SHADERCACHE_HASH