Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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_PASSTHROUGHValue: 0 Specifies the combiner C.xy = A.xy, for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_OVERRIDEValue: 1 Specifies the combiner C.xy = B.xy, for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_MINValue: 2 Specifies the combiner C.xy = max(A.xy, B.xy), for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_MAXValue: 3 Specifies the combiner C.xy = min(A.xy, B.xy), for combiner (C) and inputs (A and B). |
D3D12_SHADING_RATE_COMBINER_SUMValue: 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 |