diff options
| author | Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> | 2024-11-13 19:50:52 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-11-13 16:50:52 -0800 |
| commit | 5cb960a72449dad36594e8ad2bfa899f5aaa11be (patch) | |
| tree | 5ee550e8a50ccc2833b8e6fdf139a5b6da3294c2 /source/slang | |
| parent | f7149b94847a91f9f1f364e79f1be750aaf90191 (diff) | |
Fix WGSL emit for '&' and add bindings for thread group size (#5557)
Co-authored-by: Yong He <yonghe@outlook.com>
Diffstat (limited to 'source/slang')
| -rw-r--r-- | source/slang/slang-emit-wgsl.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-emit-wgsl.cpp b/source/slang/slang-emit-wgsl.cpp index b5ed7b9d2..fcc4b615f 100644 --- a/source/slang/slang-emit-wgsl.cpp +++ b/source/slang/slang-emit-wgsl.cpp @@ -1341,6 +1341,7 @@ bool WGSLSourceEmitter::tryEmitInstExprImpl(IRInst* inst, const EmitOpInfo& inOu } case kIROp_BitXor: case kIROp_BitOr: + case kIROp_BitAnd: { // Emit bitwise operators with paranthesis to avoid precedence issues const auto emitOp = getEmitOpForOp(inst->getOp()); |
