We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ccaf9a8 commit 10cd1ccCopy full SHA for 10cd1cc
naga/src/front/spv/mod.rs
@@ -3040,7 +3040,6 @@ impl<I: Iterator<Item = u32>> Frontend<I> {
3040
}
3041
Op::FunctionCall => {
3042
inst.expect_at_least(4)?;
3043
- block.extend(emitter.finish(ctx.expressions));
3044
3045
let result_type_id = self.next()?;
3046
let result_id = self.next()?;
@@ -3053,6 +3052,8 @@ impl<I: Iterator<Item = u32>> Frontend<I> {
3053
3052
arguments.push(get_expr_handle!(arg_id, lexp));
3054
3055
+ block.extend(emitter.finish(ctx.expressions));
3056
+
3057
// We just need an unique handle here, nothing more.
3058
let function = self.add_call(ctx.function_id, func_id);
3059
0 commit comments