mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Call ctx.emit_start after flushing
This commit is contained in:
committed by
Dzmitry Malyshau
parent
a48faf543f
commit
26537c1a60
@@ -1999,6 +1999,7 @@ impl MacroCall {
|
||||
),
|
||||
MacroCall::Barrier => {
|
||||
ctx.emit_flush(body);
|
||||
ctx.emit_start();
|
||||
body.push(crate::Statement::Barrier(crate::Barrier::all()), meta);
|
||||
return Ok(None);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user