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 260e6f46c..a486c8b15 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -60,6 +60,14 @@ void parseOptions(int* argc, char** argv)
{
gOptions.mode = Mode::GLSL;
}
+ else if( strcmp(arg, "-hlsl-rewrite") == 0 )
+ {
+ gOptions.mode = Mode::HLSLRewrite;
+ }
+ else if( strcmp(arg, "-glsl-rewrite") == 0 )
+ {
+ gOptions.mode = Mode::GLSLRewrite;
+ }
else if( strcmp(arg, "-slang") == 0 )
{
gOptions.mode = Mode::Slang;