diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2022-11-02 09:47:35 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-11-02 09:47:35 -0400 |
| commit | fb29bd32cc3404455ff92916a91c517823f486dd (patch) | |
| tree | 8d847489dc2e9a46c73c01c4c4a8fc79930c75a0 /source/core/slang-command-line.h | |
| parent | 487855ecb46ec4360464d2f028cedf8c24a66d29 (diff) | |
Shader Execution Reordering (via NVAPI) (#2484)
* #include an absolute path didn't work - because paths were taken to always be relative.
* Preliminary SER NVAPI support.
* Set the DXC compiler version.
Fix typo in premake5.lua
* Improve DXC version detection.
Enable HLSL2021 on late enough version of DXC.
* Fix typo.
* Fix launch.
* Test via DXIL output.
* Update dxc-error output.
Diffstat (limited to 'source/core/slang-command-line.h')
| -rw-r--r-- | source/core/slang-command-line.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/core/slang-command-line.h b/source/core/slang-command-line.h index f2007865f..163daf710 100644 --- a/source/core/slang-command-line.h +++ b/source/core/slang-command-line.h @@ -62,6 +62,8 @@ struct CommandLine void addArg(const String& in) { m_args.add(in); } void addArgs(const String* args, Int argsCount) { for (Int i = 0; i < argsCount; ++i) addArg(args[i]); } + void addArgIfNotFound(const String& in); + /// Find the index of an arg which is exact match for slice SLANG_INLINE Index findArgIndex(const UnownedStringSlice& slice) const { return m_args.indexOf(slice); } |
