summaryrefslogtreecommitdiffstats
path: root/src/shader_recompiler/frontend/ir/ir_emitter.cpp
diff options
context:
space:
mode:
authorReinUsesLisp <reinuseslisp@airmail.cc>2021-03-27 06:54:32 +0100
committerameerj <52414509+ameerj@users.noreply.github.com>2021-07-23 03:51:24 +0200
commita806b29cb9bb48c4a9628700946231c9150463b5 (patch)
tree334b292d73c9404a84d0bc719df4bea45e61530f /src/shader_recompiler/frontend/ir/ir_emitter.cpp
parentshader: Fix TXQ (diff)
downloadyuzu-a806b29cb9bb48c4a9628700946231c9150463b5.tar
yuzu-a806b29cb9bb48c4a9628700946231c9150463b5.tar.gz
yuzu-a806b29cb9bb48c4a9628700946231c9150463b5.tar.bz2
yuzu-a806b29cb9bb48c4a9628700946231c9150463b5.tar.lz
yuzu-a806b29cb9bb48c4a9628700946231c9150463b5.tar.xz
yuzu-a806b29cb9bb48c4a9628700946231c9150463b5.tar.zst
yuzu-a806b29cb9bb48c4a9628700946231c9150463b5.zip
Diffstat (limited to 'src/shader_recompiler/frontend/ir/ir_emitter.cpp')
-rw-r--r--src/shader_recompiler/frontend/ir/ir_emitter.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shader_recompiler/frontend/ir/ir_emitter.cpp b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
index f281c023f..82613f607 100644
--- a/src/shader_recompiler/frontend/ir/ir_emitter.cpp
+++ b/src/shader_recompiler/frontend/ir/ir_emitter.cpp
@@ -83,6 +83,7 @@ void IREmitter::SelectionMerge(Block* merge_block) {
}
void IREmitter::Return() {
+ block->SetReturn();
Inst(Opcode::Return);
}