summaryrefslogtreecommitdiff
path: root/tools/render-test/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'tools/render-test/options.h')
-rw-r--r--tools/render-test/options.h7
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];