diff options
| author | Tim Foley <tfoleyNV@users.noreply.github.com> | 2017-06-19 10:23:16 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2017-06-19 10:23:16 -0700 |
| commit | bb9ca29160f5d95f3860504262693ea650d96be5 (patch) | |
| tree | 04f502283ed818f661e368b3d8d1ba5ce875d1d2 /tools/render-test/options.h | |
| parent | cafed774d99f95bce6f182599913f3417dc68a3a (diff) | |
| parent | 634522da69b14b38c15b14d6b717b1289812e9bb (diff) | |
Merge pull request #29 from tfoleyNV/auto-import
Allow for automatic importing of Slang code
Diffstat (limited to 'tools/render-test/options.h')
| -rw-r--r-- | tools/render-test/options.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/render-test/options.h b/tools/render-test/options.h index 0731a5dc9..fbc615d56 100644 --- a/tools/render-test/options.h +++ b/tools/render-test/options.h @@ -25,12 +25,21 @@ enum class Mode GLSLCrossCompile, }; +enum +{ + // maximum number of command-line arguments to pass along to slang + kMaxSlangArgs = 16, +}; + struct Options { char const* appName = "render-test"; char const* sourcePath = nullptr; char const* outputPath = nullptr; Mode mode = Mode::Slang; + + char const* slangArgs[kMaxSlangArgs]; + int slangArgCount = 0; }; extern Options gOptions; |
