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.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index 0266a0c75..4b62eb60b 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -223,6 +223,14 @@ static gfx::DeviceType _toRenderType(Slang::RenderApiType apiType)
//
// TODO: At some point we could warn/error and deprecate this option.
}
+ else if (argValue == "-allow-glsl")
+ {
+ outOptions.allowGLSL = true;
+ }
+ else if (argValue == "-entry")
+ {
+ SLANG_RETURN_ON_FAIL(reader.expectArg(outOptions.entryPointName));
+ }
else
{
// Lookup