D3D12_CONSERVATIVE_RASTERIZATION_TIER enumeration (d3d12.h)
Identifies the tier level of conservative rasterization.
Syntax
typedef enum D3D12_CONSERVATIVE_RASTERIZATION_TIER {
D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED = 0,
D3D12_CONSERVATIVE_RASTERIZATION_TIER_1 = 1,
D3D12_CONSERVATIVE_RASTERIZATION_TIER_2 = 2,
D3D12_CONSERVATIVE_RASTERIZATION_TIER_3 = 3
} ;
Constants
D3D12_CONSERVATIVE_RASTERIZATION_TIER_NOT_SUPPORTED Value: 0 Conservative rasterization is not supported. |
D3D12_CONSERVATIVE_RASTERIZATION_TIER_1 Value: 1 Tier 1 enforces a maximum 1/2 pixel uncertainty region and does not support post-snap degenerates. This is good for tiled rendering, a texture atlas, light map generation and sub-pixel shadow maps. |
D3D12_CONSERVATIVE_RASTERIZATION_TIER_2 Value: 2 Tier 2 reduces the maximum uncertainty region to 1/256 and requires post-snap degenerates not be culled. This tier is helpful for CPU-based algorithm acceleration (such as voxelization). |
D3D12_CONSERVATIVE_RASTERIZATION_TIER_3 Value: 3 Tier 3 maintains a maximum 1/256 uncertainty region and adds support for inner input coverage. Inner input coverage adds the new value SV_InnerCoverage to High Level Shading Language (HLSL). This is a 32-bit scalar integer that can be specified on input to a pixel shader, and represents the underestimated conservative rasterization information (that is, whether a pixel is guaranteed-to-be-fully covered). This tier is helpful for occlusion culling. |
Remarks
This enum is used by the D3D12_FEATURE_DATA_D3D12_OPTIONS structure.
Requirements
Requirement | Value |
---|---|
Header | d3d12.h |