From 2482271fffbe85efc1bd7efcf74a76f6ed436012 Mon Sep 17 00:00:00 2001 From: Yong He Date: Thu, 29 Apr 2021 14:19:51 -0700 Subject: `gfx` DebugCallback and debug layer. (#1822) * `gfx` DebugCallback and debug layer. --- examples/example-base/example-base.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'examples/example-base/example-base.h') diff --git a/examples/example-base/example-base.h b/examples/example-base/example-base.h index 67f722c11..a1c46aa53 100644 --- a/examples/example-base/example-base.h +++ b/examples/example-base/example-base.h @@ -72,10 +72,13 @@ inline void diagnoseIfNeeded(slang::IBlob* diagnosticsBlob) } } +void initDebugCallback(); template int innerMain() { + initDebugCallback(); + TApp app; if (SLANG_FAILED(app.initialize())) -- cgit v1.2.3