D3D12_FEATURE_DATA_D3D12_OPTIONS12 structure (d3d12.h)

Indicates whether or not Enhanced Barriers are supported.

Syntax

typedef struct D3D12_FEATURE_DATA_D3D12_OPTIONS12 {
  D3D12_TRI_STATE MSPrimitivesPipelineStatisticIncludesCulledPrimitives;
  BOOL            EnhancedBarriersSupported;
  BOOL            RelaxedFormatCastingSupported;
} D3D12_FEATURE_DATA_D3D12_OPTIONS12;

Members

MSPrimitivesPipelineStatisticIncludesCulledPrimitives

Type: _Out_ D3D12_TRI_STATE

TBD

EnhancedBarriersSupported

Type: _Out_ BOOL

Indicates whether or not Enhanced Barriers are supported. true if supported, otherwise false.

Enhanced Barriers is not currently a hardware or driver requirement. So before using command list Barrier APIs, or resource creation APIs using the InitialLayout parameter, you must check for optional driver support via EnhancedBarriersSupported.

Requires the DirectX 12 Agility SDK 1.7 or later; otherwise, the value is always FALSE.

RelaxedFormatCastingSupported

Type: _Out_ BOOL

Technically used to indicate support for the functionality that enables integer aliasing.

Requires the DirectX 12 Agility SDK 1.7 or later; otherwise, the value is always FALSE.

Requirements

Requirement Value
Minimum supported client Windows 11, version 22H2; or DirectX 12 Agility SDK 1.6 or later
Header d3d12.h