summaryrefslogtreecommitdiff
path: root/tools/gfx-unit-test/existing-device-handle-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/existing-device-handle-test.cpp')
-rw-r--r--tools/gfx-unit-test/existing-device-handle-test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/existing-device-handle-test.cpp b/tools/gfx-unit-test/existing-device-handle-test.cpp
index 8b7a84ec2..5605bf8a5 100644
--- a/tools/gfx-unit-test/existing-device-handle-test.cpp
+++ b/tools/gfx-unit-test/existing-device-handle-test.cpp
@@ -83,6 +83,7 @@ void existingDeviceHandleTestImpl(IDevice* device, UnitTestContext* context)
void existingDeviceHandleTestAPI(UnitTestContext* context, Slang::RenderApiFlag::Enum api)
{
+ gfxEnableDebugLayer(context->enableDebugLayers);
if ((api & context->enabledApis) == 0)
{
SLANG_IGNORE_TEST;