mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2024-12-29 18:25:37 +00:00
emit_spirv: Jump to loop body with local variable
Silence unused variable warning
This commit is contained in:
parent
464f13fe0b
commit
38e7b8c805
|
@ -136,7 +136,7 @@ void Traverse(EmitContext& ctx, IR::Program& program) {
|
|||
const Id endloop_label{node.loop.merge->Definition<Id>()};
|
||||
|
||||
ctx.OpLoopMerge(endloop_label, continue_label, spv::LoopControlMask::MaskNone);
|
||||
ctx.OpBranch(node.loop.body->Definition<Id>());
|
||||
ctx.OpBranch(body_label);
|
||||
break;
|
||||
}
|
||||
case IR::AbstractSyntaxNode::Type::Break: {
|
||||
|
|
Loading…
Reference in a new issue