Skip to content

Commit

Permalink
[spv-in] fix expression emit in image store
Browse files Browse the repository at this point in the history
  • Loading branch information
kvark committed Aug 21, 2021
1 parent c09354c commit 70be72d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/front/spv/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1617,14 +1617,14 @@ 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,
arguments,
expressions,
)?;
block.extend(emitter.finish(expressions));
block.push(stmt, span);
emitter.start(expressions);
}
Expand Down

0 comments on commit 70be72d

Please sign in to comment.