diff options
| author | YONGH\yongh <yonghe@outlook.com> | 2017-10-19 18:18:21 -0400 |
|---|---|---|
| committer | YONGH\yongh <yonghe@outlook.com> | 2017-10-19 18:18:21 -0400 |
| commit | 8ff7412f988c77f21196b907820b94aa67eb6f21 (patch) | |
| tree | 27bea95dec68c42e5d3dd924da0cd8fa74f0d9e4 /tools/render-test/options.h | |
| parent | 88023aea669f258d66e53eab10215337a7f72853 (diff) | |
Support running and comparing execution results of compute shaders in testing framework.
Diffstat (limited to 'tools/render-test/options.h')
| -rw-r--r-- | tools/render-test/options.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/tools/render-test/options.h b/tools/render-test/options.h index fbc615d56..a36e0a809 100644 --- a/tools/render-test/options.h +++ b/tools/render-test/options.h @@ -31,11 +31,18 @@ enum kMaxSlangArgs = 16, }; +enum class ShaderProgramType +{ + Graphics, + Compute +}; + struct Options { char const* appName = "render-test"; char const* sourcePath = nullptr; char const* outputPath = nullptr; + ShaderProgramType shaderType = ShaderProgramType::Graphics; Mode mode = Mode::Slang; char const* slangArgs[kMaxSlangArgs]; |
