diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-10-23 09:28:58 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-10-23 09:28:58 -0400 |
| commit | 9c2d1766ea33101b551ac521ddc39516b98b6641 (patch) | |
| tree | feee466c977575ebcb15b9057a59c2efce5d9ae1 /source/slang/slang-options.cpp | |
| parent | 6a7f4c9cef766e538a808a8f03411af2f10106e1 (diff) | |
Expose more repro in API, support output params. (#1087)
* Added spEnableReproCapture to the API.
* Added MemoryStreamBase - which can be used to read from without copyin the data.
Added the missing Repro API functions - spEnableReproCapture and spExtractRepro.
Added support for serializing output filenames.
* Improved naming around Stream.
Brought Stream and sub types closer to code conventions.
* Renamed content -> contents in Stream.
Diffstat (limited to 'source/slang/slang-options.cpp')
| -rw-r--r-- | source/slang/slang-options.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-options.cpp b/source/slang/slang-options.cpp index 2e1b625d9..6b09179db 100644 --- a/source/slang/slang-options.cpp +++ b/source/slang/slang-options.cpp @@ -496,7 +496,7 @@ struct OptionsParser else if (argStr == "-dump-repro") { SLANG_RETURN_ON_FAIL(tryReadCommandLineArgument(sink, arg, &argCursor, argEnd, requestImpl->dumpRepro)); - requestImpl->getLinkage()->setRequireCacheFileSystem(true); + spEnableReproCapture(asExternal(requestImpl)); } else if (argStr == "-extract-repro") { |
