diff options
| author | Yong He <yonghe@outlook.com> | 2024-03-20 15:47:36 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-20 15:47:36 -0700 |
| commit | 45c7d33fe87e1628de7991f46ca68f8ddd2f7e4c (patch) | |
| tree | b493c79d4ef42b32ccd197112befd1c47995cbd6 /source/slang/slang-ir-specialize-resources.cpp | |
| parent | c371cceaab3f08e134b3cb005b46e5ee95f6df54 (diff) | |
Fix spirv generation for using output stream in a function. (#3806)
* Fix spirv generation for using output stream in a function.
* polish.
Diffstat (limited to 'source/slang/slang-ir-specialize-resources.cpp')
| -rw-r--r-- | source/slang/slang-ir-specialize-resources.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/slang/slang-ir-specialize-resources.cpp b/source/slang/slang-ir-specialize-resources.cpp index af7f41207..a2bf14f4d 100644 --- a/source/slang/slang-ir-specialize-resources.cpp +++ b/source/slang/slang-ir-specialize-resources.cpp @@ -1236,6 +1236,8 @@ bool isIllegalGLSLParameterType(IRType* type) } if (as<IRMeshOutputType>(type)) return true; + if (as<IRHLSLStreamOutputType>(type)) + return true; return false; } |
