summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/gfx-test-util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/gfx-test-util.cpp')
-rw-r--r--tools/gfx-unit-test/gfx-test-util.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/gfx-test-util.cpp b/tools/gfx-unit-test/gfx-test-util.cpp
index 2e3efe09f..b407f19cc 100644
--- a/tools/gfx-unit-test/gfx-test-util.cpp
+++ b/tools/gfx-unit-test/gfx-test-util.cpp
@@ -252,6 +252,7 @@ Slang::ComPtr<IDevice> createTestingDevice(
{
deviceDesc.enableValidation = context->enableDebugLayers;
deviceDesc.debugCallback = context->debugCallback;
+ getRHI()->enableDebugLayers();
}
D3D12DeviceExtendedDesc extDesc = {};