D3D11X_HW_STAGE Enumeration

Flags to indicate the hardware shader stage for the SetShaderUserData method.

Syntax

typedef enum D3D11X_HW_STAGE
{
    D3D11X_HW_STAGE_PS,
    D3D11X_HW_STAGE_VS,
    D3D11X_HW_STAGE_GS,
    D3D11X_HW_STAGE_ES,
    D3D11X_HW_STAGE_HS,
    D3D11X_HW_STAGE_LS,
    D3D11X_HW_STAGE_CS
} D3D11X_HW_STAGE;  

Constants

Constant Description
D3D11X_HW_STAGE_PS Hardware Pixel Shader. Used by the Pixel Shader.
D3D11X_HW_STAGE_VS Hardware Vertex Shader. Used by the Vertex Shader when combined only with a Pixel Shader (VS+PS). Used by the Domain Shader when not combined with a Geometry Shader (VS+HS+DS+PS), or pass through.
D3D11X_HW_STAGE_GS Hardware Geometry Shader. Used by the Geometry Shader.
D3D11X_HW_STAGE_ES Hardware Export Shader. Used by the Vertex Shader when combined with a Geometry Shader (VS+GS+PS). Used by the Domain Shader when combined with a Geometry Shader (VS+HS+DS+GS+PS).
D3D11X_HW_STAGE_HS Hardware Hull Shader. Used by the Hull Shader.
D3D11X_HW_STAGE_LS Hardware Load Shader. Used by the Vertex Shader when combined with a Hull, Domain, and Geometry Shader (VS+HS+DS+GS+PS).
D3D11X_HW_STAGE_CS Hardware Compute Shader. Used by the Compute Shader.

Remarks

This enumeration is used by ID3D11DeviceContextX::SetShaderUserData. for more information, see Shaders and the FXC Shader Compiler.

Requirements

Header: Declared in d3d11_x.h.