D3D12_FEATURE_DATA_D3D12_OPTIONS6 structure (d3d12.h)

Indicates the level of support that the adapter provides for variable-rate shading (VRS), and indicates whether or not background processing is supported. For more info, see Variable-rate shading (VRS), and the Direct3D 12 background processing spec.

Syntax

typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS6 {
  BOOL                             AdditionalShadingRatesSupported;
  BOOL                             PerPrimitiveShadingRateSupportedWithViewportIndexing;
  D3D12_VARIABLE_SHADING_RATE_TIER VariableShadingRateTier;
  UINT                             ShadingRateImageTileSize;
  BOOL                             BackgroundProcessingSupported;
} D3D12_FEATURE_DATA_D3D12_OPTIONS6;

Members

AdditionalShadingRatesSupported

Type: BOOL

Indicates whether 2x4, 4x2, and 4x4 coarse pixel sizes are supported for single-sampled rendering; and whether coarse pixel size 2x4 is supported for 2x MSAA. true if those sizes are supported, otherwise false.

PerPrimitiveShadingRateSupportedWithViewportIndexing

Type: BOOL

Indicates whether the per-provoking-vertex (also known as per-primitive) rate can be used with more than one viewport. If so, then, in that case, that rate can be used when SV_ViewportIndex is written to. true if that rate can be used with more than one viewport, otherwise false.

VariableShadingRateTier

Type: D3D12_VARIABLE_SHADING_RATE_TIER

Indicates the shading rate tier.

ShadingRateImageTileSize

Type: UINT

Indicates the tile size of the screen-space image as a UINT.

BackgroundProcessingSupported

Type: BOOL

Indicates whether or not background processing is supported. true if background processing is supported, otherwise false. For more info, see the Direct3D 12 background processing spec.

Requirements

Requirement Value
Minimum supported client Windows 10 Build 20348
Minimum supported server Windows 10 Build 20348
Header d3d12.h

See also