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.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'tools/render-test/options.h') 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"); } -- cgit v1.2.3