shader: bound storage buffers by pushed binding sizes instead of OpArrayLength

This commit is contained in:
nmzik committed 2026-10-26 05:32:02 +01:00
1 parent 7524e8f79e
commit ba7f9969ef
7 files changed
+96 -38

No files matched your search

@@ -746,7 +746,7 @@ void EmitProgram(EmitterState& state) {
state.lds_base_dwords = EmitBinaryU32(state, spv::OpIMul, index,
ConstantU32(state, LdsDwordCount(state)));
}
EmitMemoryOffsets(state);
EmitMemoryBindings(state);
if (program.blocks.empty()) {
EmitReturn(ctx);
} else if (state.program.dispatcher_fallback) {