D3D11X_SET_FAST Enumeration

Defines names of pipeline stages for SetFastResources.

Syntax

typedef enum D3D11X_SET_FAST
{
    // Encoding:
    D3D11X_SET_FAST_STAGE_VS = D3D11_STAGE_VS,
    D3D11X_SET_FAST_STAGE_HS = D3D11_STAGE_HS,
    D3D11X_SET_FAST_STAGE_DS = D3D11_STAGE_DS,
    D3D11X_SET_FAST_STAGE_GS = D3D11_STAGE_GS,
    D3D11X_SET_FAST_STAGE_PS = D3D11_STAGE_PS,
    D3D11X_SET_FAST_STAGE_CS = D3D11_STAGE_CS,
    D3D11X_SET_FAST_STAGE_IA = (D3D11_STAGE_CS + 1),
    D3D11X_SET_FAST_STAGE_MASK = 0x0007,
    D3D11X_SET_FAST_TYPE_BUFFER_VIEW = 0x0040,
    D3D11X_SET_FAST_TYPE_VARIANT_MASK = 0x00C0,
    D3D11X_SET_FAST_UPDATE_OFFSET = 0x0100,
    D3D11X_SET_FAST_UPDATE_MASK = 0x0700,
    // Common usages:
    D3D11X_SET_FAST_VS = D3D11X_SET_FAST_STAGE_VS,
    D3D11X_SET_FAST_HS = D3D11X_SET_FAST_STAGE_HS,
    D3D11X_SET_FAST_DS = D3D11X_SET_FAST_STAGE_DS,
    D3D11X_SET_FAST_GS = D3D11X_SET_FAST_STAGE_GS,
    D3D11X_SET_FAST_PS = D3D11X_SET_FAST_STAGE_PS,
    D3D11X_SET_FAST_CS = D3D11X_SET_FAST_STAGE_CS,
    D3D11X_SET_FAST_IA_VB = D3D11X_SET_FAST_STAGE_IA,
    D3D11X_SET_FAST_VS_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_VS | D3D11X_SET_FAST_UPDATE_OFFSET),
    D3D11X_SET_FAST_HS_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_HS | D3D11X_SET_FAST_UPDATE_OFFSET),
    D3D11X_SET_FAST_DS_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_DS | D3D11X_SET_FAST_UPDATE_OFFSET),
    D3D11X_SET_FAST_GS_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_GS | D3D11X_SET_FAST_UPDATE_OFFSET),
    D3D11X_SET_FAST_PS_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_PS | D3D11X_SET_FAST_UPDATE_OFFSET),
    D3D11X_SET_FAST_CS_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_CS | D3D11X_SET_FAST_UPDATE_OFFSET),
    D3D11X_SET_FAST_IA_VB_WITH_OFFSET = (D3D11X_SET_FAST_STAGE_IA | D3D11X_SET_FAST_UPDATE_OFFSET)
} D3D11X_SET_FAST;  

Constants

Constant Description
D3D11X_SET_FAST_STAGE_VS Vertex Shader.
D3D11X_SET_FAST_STAGE_HS Hull Shader.
D3D11X_SET_FAST_STAGE_DS Domain Shader.
D3D11X_SET_FAST_STAGE_GS Geometry Shader.
D3D11X_SET_FAST_STAGE_PS Pixel Shader.
D3D11X_SET_FAST_STAGE_CS Compute Shader.
D3D11X_SET_FAST_STAGE_IA Input Assembler stage.
D3D11X_SET_FAST_STAGE_MASK Mask.
D3D11X_SET_FAST_TYPE_BUFFER_VIEW Set STAGE_[SHADER] SRV/UAV descriptor as buffer instead of a texture.
D3D11X_SET_FAST_TYPE_VARIANT_MASK Variant mask.
D3D11X_SET_FAST_UPDATE_OFFSET Update offset.
D3D11X_SET_FAST_UPDATE_MASK Update mask.
D3D11X_SET_FAST_VS Vertex Shader.
D3D11X_SET_FAST_HS Hull Shader.
D3D11X_SET_FAST_DS Domain Shader.
D3D11X_SET_FAST_GS Geometry Shader.
D3D11X_SET_FAST_PS Pixel Shader.
D3D11X_SET_FAST_CS Compute Shader.
D3D11X_SET_FAST_IA_VB Input Assembler stage.
D3D11X_SET_FAST_VS_WITH_OFFSET Vertex Shader with offset.
D3D11X_SET_FAST_HS_WITH_OFFSET Hull Shader with offset.
D3D11X_SET_FAST_DS_WITH_OFFSET Domain Shader with offset.
D3D11X_SET_FAST_GS_WITH_OFFSET Geometry Shader with offset.
D3D11X_SET_FAST_PS_WITH_OFFSET Pixel Shader with offset.
D3D11X_SET_FAST_CS_WITH_OFFSET Compute Shader with offset.
D3D11X_SET_FAST_IA_VB_WITH_OFFSET Input Assembler VB with offset.

Remarks

This enumeration is used by SetFastResources and SetFastResourcesIntoBatch.

Requirements

Header: Declared in d3d11_x.h.

See also

Optimizing Monolithic Driver Performance

Fast Semantics

Fast Semantics Render Loops