mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-10 19:08:24 -05:00
shader: Fix structured control flow on KIL instructions
This could potentially leave unvisited blocks, leading to illegal phi nodes.
This commit is contained in:
@ -83,6 +83,7 @@ void IREmitter::SelectionMerge(Block* merge_block) {
|
||||
}
|
||||
|
||||
void IREmitter::Return() {
|
||||
block->SetReturn();
|
||||
Inst(Opcode::Return);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user