mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
[spv-in] fix emitted expressions for ImageStore
This commit is contained in:
committed by
Dzmitry Malyshau
parent
0985727710
commit
1f53ff1d1e
@@ -1478,9 +1478,11 @@ 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, global_arena, expressions)?;
|
||||
block.push(stmt);
|
||||
emitter.start(expressions);
|
||||
}
|
||||
Op::ImageFetch | Op::ImageRead => {
|
||||
let extra = inst.expect_at_least(5)?;
|
||||
|
||||
Reference in New Issue
Block a user