D3D12_DEBUG_COMMAND_LIST_GPU_BASED_VALIDATION_SETTINGS structure (d3d12sdklayers.h)

Describes per-command-list settings used by GPU-Based Validation.

Syntax

typedef struct D3D12_DEBUG_COMMAND_LIST_GPU_BASED_VALIDATION_SETTINGS {
  D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE ShaderPatchMode;
} D3D12_DEBUG_COMMAND_LIST_GPU_BASED_VALIDATION_SETTINGS;

Members

ShaderPatchMode

Specifies a D3D12_GPU_BASED_VALIDATION_SHADER_PATCH_MODE that overrides the default device-level shader patch mode (see ID3D12DebugDevice1::SetDebugParameter). By default this value is initialized to the DefaultShaderPatchMode assigned to the device (see D3D12_DEBUG_DEVICE_GPU_BASED_VALIDATION_SETTINGS.

Remarks

Point to an object using this structure with the pData member of ID3D12DebugCommandList1::SetDebugParameter to configure per-command-list GPU-Based Validation settings.

Requirements

   
Header d3d12sdklayers.h (include D3d12sdklayers_RS1.h)

See also

Debug Layer Structures

SetEnableGPUBasedValidation

Using D3D12 Debug Layer GPU-Based Validation