diff options
| author | Nathan V. Morrical <natemorrical@gmail.com> | 2021-04-27 01:57:43 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-04-27 00:57:43 -0700 |
| commit | 6928393f5270bd8321793a6641e00dacbcbe6cad (patch) | |
| tree | eca235a692fd8fd4d8d4f08d4fe9480b288f63fc /source/slang | |
| parent | 599129dea6930cf64a403e5e0dbd7cc7293df8af (diff) | |
enabling command line compiler to output PTX with multiple entry points. (#1816)
Co-authored-by: jsmall-nvidia <jsmall@nvidia.com>
Diffstat (limited to 'source/slang')
| -rw-r--r-- | source/slang/slang-options.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index b88fa9bca..1cb222294 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -1611,6 +1611,7 @@ struct OptionsParser switch (outputFormat) { case CodeGenTarget::CPPSource: + case CodeGenTarget::PTX: rawOutput.isWholeProgram = true; break; default: |
