summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2024-05-01 17:30:55 -0700
committerGitHub <noreply@github.com>2024-05-01 17:30:55 -0700
commit9043bc5522cc86560ac5d57ddfc6cfa7612c9222 (patch)
tree9804bb8a682386b9f761e8fb164cb43ad5390411 /tools/render-test/options.cpp
parent0bb826f8b92aec330875d0b966c1f4a6b99988bf (diff)
Fix compile failures when using debug symbol. (#4069)
* Fix compile failures when using debug symbol. * Various fixes. * Fix intrinsic. * Fix test.
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp4
1 files changed, 4 insertions, 0 deletions
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;