diff options
| author | Yong He <yonghe@outlook.com> | 2017-10-19 19:38:07 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-10-19 19:38:07 -0400 |
| commit | 7ba937faa3f72b0f319150c3dde041d8a353c007 (patch) | |
| tree | 4e4ac0f96ca2d9a7647f64e108498ea0d69c5acf /tools/render-test/options.h | |
| parent | 88023aea669f258d66e53eab10215337a7f72853 (diff) | |
| parent | 5a18dc704a2f5eecebcbdd77682a40ba8316d253 (diff) | |
Merge pull request #225 from csyonghe/master
Support running 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]; |
