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 89a68b27f..629016155 100644
--- a/tools/render-test/options.cpp
+++ b/tools/render-test/options.cpp
@@ -100,6 +100,10 @@ void parseOptions(int* argc, char** argv)
{
gOptions.shaderType = ShaderProgramType::Graphics;
}
+ else if (strcmp(arg, "-gcompute") == 0)
+ {
+ gOptions.shaderType = ShaderProgramType::GraphicsCompute;
+ }
else
{
fprintf(stderr, "unknown option '%s'\n", arg);