diff options
| author | Yong He <yonghe@outlook.com> | 2024-02-03 12:29:12 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-03 12:29:12 -0800 |
| commit | 6dca7e39292e6c5672440f6f1dbfb204a79b90d2 (patch) | |
| tree | 8f6d3c51bf0195d94c34043db5c8b29f18c16b2e /source/slang/slang-emit-spirv.cpp | |
| parent | 14764896c34b230a5563f48d8b8e565de2f3aa10 (diff) | |
Fix spirv emit that leads to pathological downstream time. (#3546)
Diffstat (limited to 'source/slang/slang-emit-spirv.cpp')
| -rw-r--r-- | source/slang/slang-emit-spirv.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-emit-spirv.cpp b/source/slang/slang-emit-spirv.cpp index 7ff6ac7d6..6e1e58755 100644 --- a/source/slang/slang-emit-spirv.cpp +++ b/source/slang/slang-emit-spirv.cpp @@ -2262,6 +2262,7 @@ struct SPIRVEmitContext SLANG_UNIMPLEMENTED_X(e.getBuffer()); } case kIROp_Specialize: + case kIROp_MissingReturn: return nullptr; case kIROp_Var: return emitVar(parent, inst); |
