summaryrefslogtreecommitdiffstats
path: root/source/slang/emit.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'source/slang/emit.cpp')
-rw-r--r--source/slang/emit.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/emit.cpp b/source/slang/emit.cpp
index 8d31ca064..1d121d69b 100644
--- a/source/slang/emit.cpp
+++ b/source/slang/emit.cpp
@@ -5394,6 +5394,7 @@ struct EmitVisitor
}
emitGLSLLayoutQualifier(LayoutResourceKind::DescriptorTableSlot, &containerChain);
+ emitGLSLLayoutQualifier(LayoutResourceKind::PushConstantBuffer, &containerChain);
if(as<IRGLSLShaderStorageBufferType>(type))
{