shader: preserve wave-wide vector-store completion before publication

This commit is contained in:
nmzik committed 2026-10-04 18:39:34 +04:00
1 parent 42a315f0e4
commit f58014ff0e
16 files changed
+144 -32

No files matched your search

@@ -315,6 +315,7 @@ void EmitBlock(ValueEmitContext& ctx, const IR::Block* block, EmitInstruction&&
auto& lane = half == 0 ? ctx : *ctx.other_half;
ctx.state.lane_half = half;
if (half == 0 || (inst.GetOpcode() != IR::ValueOpcode::Barrier &&
inst.GetOpcode() != IR::ValueOpcode::StoreCompletion &&
inst.GetOpcode() != IR::ValueOpcode::MeshAllocate)) {
emit_instruction(lane, inst);
}