// d3d12umddi.h
typedef enum D3D12DDI_SHADING_RATE_COMBINER_0062 {
D3D12DDI_SHADING_RATE_COMBINER_0062_PASSTHROUGH,
D3D12DDI_SHADING_RATE_COMBINER_0062_OVERRIDE,
D3D12DDI_SHADING_RATE_COMBINER_0062_MIN,
D3D12DDI_SHADING_RATE_COMBINER_0062_MAX,
D3D12DDI_SHADING_RATE_COMBINER_0062_SUM
} ;
View the official Windows Driver Kit DDI referenceNo description available.
Indicates the type of combiner used to combine two shading rates A and B, where A is the pipeline/render state (per draw) shading rate, and B is one of the following types of shading rates:
D3D12DDI_SHADING_RATE_COMBINER_0062_PASSTHROUGHThe default combiner, where the result is A. The pipeline/render state (per draw) shading rate is used.
D3D12DDI_SHADING_RATE_COMBINER_0062_OVERRIDEThe shading rate of type B is used as the shading rate.
D3D12DDI_SHADING_RATE_COMBINER_0062_MINThe combined shading rate is the minimum of A and B. This shading rate is the higher quality.
D3D12DDI_SHADING_RATE_COMBINER_0062_MAXThe combined shading rate is the maximum of A and B. This shading rate is the lower quality.
D3D12DDI_SHADING_RATE_COMBINER_0062_SUMApply the cost of B relative to A. The combined rate is equal to min(maxRate, A.xy + B.xy), where maxRate is the largest permitted dimension of coarse pixel on the device.
When specifying a shader rate by vertex attribute:
If a geometry shader is used, the shading rate can be specified through the vertex attribute.
If a geometry shader is not used, the shading rate is specified by the provoking vertex.