Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This method enables or disables GPU-Based Validation (GBV) before creating a device with the debug layer enabled.
Syntax
void SetEnableGPUBasedValidation(
BOOL Enable
);
Parameters
Enable
Type: BOOL
TRUE to enable GPU-Based Validation, otherwise FALSE.
Return value
None
Remarks
GPU-Based Validation can only be enabled/disabled prior to creating a device. By default, GPU-Based Validation is disabled. To disable GPU-Based Validation after initially enabling it the device must be fully released and recreated; disabling or enabling it after device creation will cause device removal.
For more information, see Using D3D12 Debug Layer GPU-Based Validation.
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | d3d12sdklayers.h |