From 9043bc5522cc86560ac5d57ddfc6cfa7612c9222 Mon Sep 17 00:00:00 2001 From: Yong He Date: Wed, 1 May 2024 17:30:55 -0700 Subject: Fix compile failures when using debug symbol. (#4069) * Fix compile failures when using debug symbol. * Various fixes. * Fix intrinsic. * Fix test. --- tools/render-test/options.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tools/render-test/options.cpp') diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index 1d7c3cc2e..57d4a2641 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -222,6 +222,10 @@ static gfx::DeviceType _toRenderType(Slang::RenderApiType apiType) // // TODO: At some point we could warn/error and deprecate this option. } + else if (argValue == "-g0") + { + outOptions.disableDebugInfo = true; + } else if (argValue == "-allow-glsl") { outOptions.allowGLSL = true; -- cgit v1.2.3