From 5cb960a72449dad36594e8ad2bfa899f5aaa11be Mon Sep 17 00:00:00 2001 From: Sai Praveen Bangaru <31557731+saipraveenb25@users.noreply.github.com> Date: Wed, 13 Nov 2024 19:50:52 -0500 Subject: Fix WGSL emit for '&' and add bindings for thread group size (#5557) Co-authored-by: Yong He --- source/slang/slang-emit-wgsl.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang') 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()); -- cgit v1.2.3