GS/DX12: Enable GBV with the debug device

This commit is contained in:
TheLastRar
2025-12-16 16:57:16 +01:00
committed by lightningterror
parent 7c88af9c73
commit cb5124da4b
+2 -1
View File
@@ -165,11 +165,12 @@ bool GSDevice12::CreateDevice(u32& vendor_id)
// Enabling the debug layer will fail if the Graphics Tools feature is not installed.
if (enable_debug_layer)
{
ComPtr<ID3D12Debug> debug12;
ComPtr<ID3D12Debug1> debug12;
hr = D3D12GetDebugInterface(IID_PPV_ARGS(debug12.put()));
if (SUCCEEDED(hr))
{
debug12->EnableDebugLayer();
debug12->SetEnableGPUBasedValidation(true);
}
else
{