summaryrefslogtreecommitdiffstats
path: root/tools/gfx/render.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/gfx/render.cpp')
-rw-r--r--tools/gfx/render.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gfx/render.cpp b/tools/gfx/render.cpp
index e32ed8f6c..b19824671 100644
--- a/tools/gfx/render.cpp
+++ b/tools/gfx/render.cpp
@@ -16,6 +16,7 @@ Result SLANG_MCALL createCUDADevice(const IDevice::Desc* desc, IDevice** outDevi
Result SLANG_MCALL createCPUDevice(const IDevice::Desc* desc, IDevice** outDevice);
static bool debugLayerEnabled = false;
+bool isGfxDebugLayerEnabled() { return debugLayerEnabled; }
/* !!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Global Renderer Functions !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! */