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.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp
index ec0bc0844..d99ba355e 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -139,6 +139,10 @@ SlangResult parseOptions(int* argc, char** argv)
{
gOptions.rendererType = RendererType::DirectX11;
}
+ else if( strcmp(arg, "-use-dxil") == 0 )
+ {
+ gOptions.useDXIL = true;
+ }
else
{
fprintf(stderr, "unknown option '%s'\n", arg);