summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGravatar Lioncash2019-07-16 12:18:19 -0400
committerGravatar Lioncash2019-07-16 12:20:45 -0400
commite2d7dda1667f5c5de119c9b0fa47cb119603a3ea (patch)
tree4fdb132459ff6795a13296fce3c1710d8073768a /src
parentMerge pull request #2695 from ReinUsesLisp/layer-viewport (diff)
downloadyuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.gz
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.tar.xz
yuzu-e2d7dda1667f5c5de119c9b0fa47cb119603a3ea.zip
shader/decode/other: Correct branch indirect argument within BRA handling
This appears to have been a copy/paste error introduced within 8a6fc529a968e007f01464abadd32f9b5eb0a26c
Diffstat (limited to 'src')
-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) {
102 PRECISE, op_a, Immediate(3)); 102 PRECISE, op_a, Immediate(3));
103 const Node operand = 103 const Node operand =
104 Operation(OperationCode::IAdd, PRECISE, convert, Immediate(target)); 104 Operation(OperationCode::IAdd, PRECISE, convert, Immediate(target));
105 branch = Operation(OperationCode::BranchIndirect, convert); 105 branch = Operation(OperationCode::BranchIndirect, operand);
106 } 106 }
107 107
108 const Tegra::Shader::ConditionCode cc = instr.flow_condition_code; 108 const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;