summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLioncash <mathew1800@gmail.com>2019-07-16 18:18:19 +0200
committerLioncash <mathew1800@gmail.com>2019-07-16 18:20:45 +0200
commite2d7dda1667f5c5de119c9b0fa47cb119603a3ea (patch)
tree4fdb132459ff6795a13296fce3c1710d8073768a
parentMerge pull request #2695 from ReinUsesLisp/layer-viewport (diff)
downloadyuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.gz
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.bz2
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.lz
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.xz
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.zst
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.zip
-rw-r--r--src/video_core/shader/decode/other.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/shader/decode/other.cpp b/src/video_core/shader/decode/other.cpp
index 42e3de02f..c0f64d7a0 100644
--- a/src/video_core/shader/decode/other.cpp
+++ b/src/video_core/shader/decode/other.cpp
@@ -102,7 +102,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
PRECISE, op_a, Immediate(3));
const Node operand =
Operation(OperationCode::IAdd, PRECISE, convert, Immediate(target));
- branch = Operation(OperationCode::BranchIndirect, convert);
+ branch = Operation(OperationCode::BranchIndirect, operand);
}
const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;