diff options
Diffstat (limited to 'tools/render-test/options.cpp')
| -rw-r--r-- | tools/render-test/options.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tools/render-test/options.cpp b/tools/render-test/options.cpp index 8331de07e..c2afe78ac 100644 --- a/tools/render-test/options.cpp +++ b/tools/render-test/options.cpp @@ -152,6 +152,10 @@ SlangResult parseOptions(int argc, const char*const* argv, Slang::WriterHelper s { gOptions.shaderType = ShaderProgramType::GraphicsCompute; } + else if (strcmp(arg, "-rt") == 0) + { + gOptions.shaderType = ShaderProgramType::RayTracing; + } else if( strcmp(arg, "-use-dxil") == 0 ) { gOptions.useDXIL = true; |
