D3D12_SHADING_RATE_COMBINER enumeration (d3d12.h)
Defines constants that specify a shading rate combiner (for variable-rate shading, or VRS). For more info, see Variable-rate shading (VRS).
Syntax
typedef enum D3D12_SHADING_RATE_COMBINER {
D3D12_SHADING_RATE_COMBINER_PASSTHROUGH = 0,
D3D12_SHADING_RATE_COMBINER_OVERRIDE = 1,
D3D12_SHADING_RATE_COMBINER_MIN = 2,
D3D12_SHADING_RATE_COMBINER_MAX = 3,
D3D12_SHADING_RATE_COMBINER_SUM = 4
} ;
Constants
D3D12_SHADING_RATE_COMBINER_PASSTHROUGH Value: 0 Specifies the combiner C.xy = A.xy , for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_OVERRIDE Value: 1 Specifies the combiner C.xy = B.xy , for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_MIN Value: 2 Specifies the combiner C.xy = max(A.xy, B.xy) , for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_MAX Value: 3 Specifies the combiner C.xy = min(A.xy, B.xy) , for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_SUM Value: 4 Specifies the combiner C.xy = min(maxRate, A.xy + B.xy)`, for combiner (C) and inputs (A and B). |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10 Build 20348 |
Minimum supported server | Windows 10 Build 20348 |
Header | d3d12.h |