diff options
| author | Yong He <yonghe@outlook.com> | 2017-10-23 10:44:08 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-10-23 10:44:08 -0400 |
| commit | 4d6be3588ac5b5b62e19900b12de90ce1e1ff744 (patch) | |
| tree | 43fb004d9283849c670dfd869d75b8f621036b9e /source/slang/slang.cpp | |
| parent | cc6184ebc4d0611be892eaff119de99f8b9e1ca6 (diff) | |
| parent | 624d122a3a110922cd54aab7bbf13f1cac8fbbff (diff) | |
Merge https://github.com/shader-slang/slang
Diffstat (limited to 'source/slang/slang.cpp')
| -rw-r--r-- | source/slang/slang.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang.cpp b/source/slang/slang.cpp index dff322c29..da7601d41 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -918,6 +918,7 @@ SLANG_API int spCompile( catch (...) { req->mSink.diagnose(Slang::SourceLoc(), Slang::Diagnostics::compilationAborted); + req->mDiagnosticOutput = req->mSink.outputBuffer.ProduceString(); return 1; } #else |
