diff options
| author | Yong He <yonghe@outlook.com> | 2017-10-25 23:16:53 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-25 23:16:53 -0400 |
| commit | 56bc82656c2b2cd581a430713bc25b409bb4da4f (patch) | |
| tree | f5e667617ae8dd1853d4977ec13c153e9fafca0e /tools/render-test/options.cpp | |
| parent | 3043171dae37d18015d6cd26287d492c576f4f1a (diff) | |
| parent | 3a7dcf6d4d7a9c98ae769ad85f131c16802d1f72 (diff) | |
Merge pull request #230 from csyonghe/master
Finish up implementation of render-test
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 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); |
