D3D11X_GDS_REGION_TYPE Enumeration

Defines names of GDS region types, such as PS and CS regions.

Syntax

typedef enum _D3D11X_GDS_REGION_TYPE
{
    D3D11X_GDS_REGION_PS,
    D3D11X_GDS_REGION_CS
} D3D11X_GDS_REGION_TYPE;  

Constants

Constant Description
D3D11X_GDS_REGION_PS UAV counters region for VS/HS/DS/GS/PS.
D3D11X_GDS_REGION_CS UAV counters region for CS.

Remarks

This enumeration is used by the following methods:

For compatibility with DirectX 11, UAV counters are kept separately for CS and other shader stages. By default those counters don’t overlap and therefore it is possible to have a UAV with a counter bound at slot 1 in a PS and at slot 1 in a CS and they will not share the counter. The shader compiler will expect each region to have 64 counters available. To alias the two regions on the same GDS memory area, call ID3D11ComputeContextX::SetGDSRange or ID3D11DeviceContextX::SetGDSRange.

Requirements

Header: Declared in d3d11_x.h.