diff options
| author | Yong He <yonghe@outlook.com> | 2017-11-03 18:55:03 -0400 |
|---|---|---|
| committer | Yong He <yonghe@outlook.com> | 2017-11-03 18:55:03 -0400 |
| commit | 0a3656788473244b4760791c4129a4080a6631f6 (patch) | |
| tree | 98f47426d4b4cf08f31416e9dfb32df0bebbc7c8 /source/slang/slang.cpp | |
| parent | 38ec0e0976010aee2f68dba47563adba798cfcc3 (diff) | |
associatedtypes: generating almost correct HLSL, but is not calling correctly mangled function.
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 f1d1d6ba2..602a929b2 100644 --- a/source/slang/slang.cpp +++ b/source/slang/slang.cpp @@ -300,6 +300,7 @@ int CompileRequest::executeActionsInner() // Generate initial IR for all the translation // units, if we are in a mode where IR is called for. generateIR(); + if (mSink.GetErrorCount() != 0) return 1; |
