mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[spv-in] fix expression emit in image store
This commit is contained in:
committed by
Dzmitry Malyshau
parent
c09354c78e
commit
70be72d9b9
@@ -1617,7 +1617,6 @@ impl<I: Iterator<Item = u32>> Parser<I> {
|
||||
}
|
||||
Op::ImageWrite => {
|
||||
let extra = inst.expect_at_least(4)?;
|
||||
block.extend(emitter.finish(expressions));
|
||||
let stmt = self.parse_image_write(
|
||||
extra,
|
||||
type_arena,
|
||||
@@ -1625,6 +1624,7 @@ impl<I: Iterator<Item = u32>> Parser<I> {
|
||||
arguments,
|
||||
expressions,
|
||||
)?;
|
||||
block.extend(emitter.finish(expressions));
|
||||
block.push(stmt, span);
|
||||
emitter.start(expressions);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user