summaryrefslogtreecommitdiff
path: root/source/slang/slang-emit-wgsl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/slang-emit-wgsl.cpp')
-rw-r--r--source/slang/slang-emit-wgsl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/slang/slang-emit-wgsl.cpp b/source/slang/slang-emit-wgsl.cpp
index 13c14cf34..cba9c1b54 100644
--- a/source/slang/slang-emit-wgsl.cpp
+++ b/source/slang/slang-emit-wgsl.cpp
@@ -663,7 +663,7 @@ void WGSLSourceEmitter::emitLayoutQualifiersImpl(IRVarLayout* layout)
EmitVarChain chain = {};
chain.varLayout = layout;
- auto space = getBindingSpaceForKinds(&chain, kind);
+ auto space = getBindingSpaceForKinds(&chain, LayoutResourceKindFlag::make(kind));
m_writer->emit("@group(");
m_writer->emit(space);
m_writer->emit(") ");