summaryrefslogtreecommitdiffstats
path: root/tools/render-test/options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.cpp')
-rw-r--r--tools/render-test/options.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index 3b2c07ce6..2f304b7c0 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -143,7 +143,11 @@ static gfx::DeviceType _toRenderType(Slang::RenderApiType apiType)
}
else if (argValue == "-emit-spirv-directly")
{
- outOptions.generateSPIRVDirectly = true;
+ outOptions.generateSPIRVDirectly= true;
+ }
+ else if (argValue == "-emit-spirv-via-glsl")
+ {
+ outOptions.generateSPIRVDirectly= false;
}
else if (argValue == "-only-startup")
{