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,
  D3D12_GPU_BASED_VALIDATION_FLAGS_DISABLE_STATE_TRACKING
} ;

Constants

 
D3D12_GPU_BASED_VALIDATION_FLAGS_NONE
Default behavior; resource states, descriptors, and descriptor tables are all validated.
D3D12_GPU_BASED_VALIDATION_FLAGS_DISABLE_STATE_TRACKING
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

   
Header d3d12sdklayers.h

See also

Core Enumerations