D3D12_GPU_BASED_VALIDATION_FLAGS enumeration (d3d12sdklayers.h)

Describes the level of GPU-based validation to perform at runtime.

Syntax

typedef enum D3D12_GPU_BASED_VALIDATION_FLAGS {
  D3D12_GPU_BASED_VALIDATION_FLAGS_NONE = 0,
  D3D12_GPU_BASED_VALIDATION_FLAGS_DISABLE_STATE_TRACKING = 0x1
} ;

Constants

 
D3D12_GPU_BASED_VALIDATION_FLAGS_NONE
Value: 0
Default behavior; resource states, descriptors, and descriptor tables are all validated.
D3D12_GPU_BASED_VALIDATION_FLAGS_DISABLE_STATE_TRACKING
Value: 0x1
When set, GPU-based validation does not perform resource state validation which greatly reduces the performance cost of GPU-based validation. Descriptors and descriptor heaps are still validated.

Remarks

This enumeration is used with the ID3D12Debug2::SetGPUBasedValidationFlags method to configure the amount of runtime validation that will occur.

Requirements

Requirement Value
Header d3d12sdklayers.h

See also

Core Enumerations