diff options
| author | Yong He <yonghe@outlook.com> | 2021-10-21 16:27:40 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-10-21 16:27:40 -0700 |
| commit | dc991f7cb6b7f9f7271f4e557cfdd3e59804d1d3 (patch) | |
| tree | 28d1a5974087e8d5c60645befe8808474332d3e5 /source/slang/slang-emit-glsl.cpp | |
| parent | 9304c2d04c9bfbae33cc328d404b24aba375aa4f (diff) | |
Passing associated type arguments to existential parameters + packing for `bool`. (#1987)
* Passing associated type arguments to existential parameters + packing for `bool`.
* fix typo
Co-authored-by: Yong He <yhe@nvidia.com>
Diffstat (limited to 'source/slang/slang-emit-glsl.cpp')
| -rw-r--r-- | source/slang/slang-emit-glsl.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/slang-emit-glsl.cpp b/source/slang/slang-emit-glsl.cpp index 634067ab7..5540daa19 100644 --- a/source/slang/slang-emit-glsl.cpp +++ b/source/slang/slang-emit-glsl.cpp @@ -1488,6 +1488,9 @@ bool GLSLSourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOu break; } break; + case BaseType::Bool: + m_writer->emit("bool"); + break; } m_writer->emit("("); |
