mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 00:11:11 +01:00
[spv-in] fix expression emit in image store
This commit is contained in:
1 parent
02c74b5002
commit
c8f220f57c
1 file changed
+1
-1
@@ -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