diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2021-05-14 09:48:46 +0200 |
---|---|---|
committer | ameerj <52414509+ameerj@users.noreply.github.com> | 2021-07-23 03:51:31 +0200 |
commit | bf5e48ffe4bd48ea681f2a01c8919c97125e88df (patch) | |
tree | 2127c2f01aa19b98672f1ac9f34395b9b0240b3e /src/shader_recompiler/frontend/maxwell | |
parent | glasm: Write result to scalar on integer comparison instructions (diff) | |
download | yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.gz yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.bz2 yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.lz yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.xz yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.tar.zst yuzu-bf5e48ffe4bd48ea681f2a01c8919c97125e88df.zip |
Diffstat (limited to 'src/shader_recompiler/frontend/maxwell')
-rw-r--r-- | src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp index e7e2e9c82..836d4b8aa 100644 --- a/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp +++ b/src/shader_recompiler/frontend/maxwell/structured_control_flow.cpp @@ -704,7 +704,7 @@ private: // Implement if header block IR::IREmitter ir{*current_block}; const IR::U1 cond{VisitExpr(ir, *stmt.cond)}; - ir.BranchConditionRef(cond); + ir.DummyReference(cond); const size_t if_node_index{syntax_list.size()}; syntax_list.emplace_back(); @@ -755,7 +755,7 @@ private: // The continue block is located at the end of the loop IR::IREmitter ir{*continue_block}; const IR::U1 cond{VisitExpr(ir, *stmt.cond)}; - ir.BranchConditionRef(cond); + ir.DummyReference(cond); IR::Block* const body_block{syntax_list.at(body_block_index).block}; loop_header_block->AddBranch(body_block); @@ -792,7 +792,7 @@ private: IR::IREmitter ir{*current_block}; const IR::U1 cond{VisitExpr(ir, *stmt.cond)}; - ir.BranchConditionRef(cond); + ir.DummyReference(cond); current_block->AddBranch(break_block); current_block->AddBranch(skip_block); current_block = skip_block; |