summaryrefslogtreecommitdiffstats
path: root/tools/gfx-unit-test/get-cmd-queue-handle-test.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx-unit-test/get-cmd-queue-handle-test.cpp')
-rw-r--r--tools/gfx-unit-test/get-cmd-queue-handle-test.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx-unit-test/get-cmd-queue-handle-test.cpp b/tools/gfx-unit-test/get-cmd-queue-handle-test.cpp
index 5e72c41d9..82561f4a2 100644
--- a/tools/gfx-unit-test/get-cmd-queue-handle-test.cpp
+++ b/tools/gfx-unit-test/get-cmd-queue-handle-test.cpp
@@ -38,6 +38,7 @@ void getQueueHandleTestImpl(IDevice* device, UnitTestContext* context)
void getQueueHandleTestAPI(UnitTestContext* context, Slang::RenderApiFlag::Enum api)
{
+ gfxEnableDebugLayer(context->enableDebugLayers);
if ((api & context->enabledApis) == 0)
{
SLANG_IGNORE_TEST;