// d3d12umddi.h
typedef enum D3D12DDI_SHADING_RATE_0062 {
D3D12DDI_SHADING_RATE_0062_1X1,
D3D12DDI_SHADING_RATE_0062_1X2,
D3D12DDI_SHADING_RATE_0062_2X1,
D3D12DDI_SHADING_RATE_0062_2X2,
D3D12DDI_SHADING_RATE_0062_2X4,
D3D12DDI_SHADING_RATE_0062_4X2,
D3D12DDI_SHADING_RATE_0062_4X4
} ;
View the official Windows Driver Kit DDI referenceNo description available.
The shading rate at which the variable rate shading occurs.
D3D12DDI_SHADING_RATE_0062_1X1No change to the shading rate.
D3D12DDI_SHADING_RATE_0062_1X2Reduces vertical resolution 2x.
D3D12DDI_SHADING_RATE_0062_2X1Reduces horizontal resolution 2x.
D3D12DDI_SHADING_RATE_0062_2X2Reduces both axes by 2x.
D3D12DDI_SHADING_RATE_0062_2X4Reduce horizontal res 2x, vertical by 4x.
D3D12DDI_SHADING_RATE_0062_4X2Reduce horizontal res 4x, vertical by 2x.
D3D12DDI_SHADING_RATE_0062_4X4Reduces both axes by 4x.
The values are organized so that shading rates are easily decomposable into two axes, where each axis’s values are compactly represented in logarithmic space.