summaryrefslogtreecommitdiff
path: root/tools/render-test/options.h
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.h
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.h')
-rw-r--r--tools/render-test/options.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/render-test/options.h b/tools/render-test/options.h
index 5a46c4000..6ea166833 100644
--- a/tools/render-test/options.h
+++ b/tools/render-test/options.h
@@ -71,6 +71,8 @@ struct Options
bool dontAddDefaultEntryPoints = false;
+ bool disableDebugInfo = false;
+
bool allowGLSL = false;
Slang::String entryPointName;
@@ -83,11 +85,7 @@ struct Options
Slang::DownstreamArgs downstreamArgs; ///< Args to downstream tools. Here it's just slang
-#if defined(SLANG_CONFIG_DEFAULT_SPIRV_DIRECT)
bool generateSPIRVDirectly = true;
-#else
- bool generateSPIRVDirectly = false;
-#endif
Options() { downstreamArgs.addName("slang"); }