summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Fernando Sahmkow2019-07-17 14:25:08 -0400
committerGravatar GitHub2019-07-17 14:25:08 -0400
commit223a535f3fd560485b3671e8d8b14e1f3389ec3d (patch)
treeaa889eff1c94a9e2b00df76c67594fe26df43bdc
parentMerge pull request #2726 from lioncash/access (diff)
parentshader/decode/other: Correct branch indirect argument within BRA handling (diff)
downloadyuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.gz
yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.xz
yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.zip
Merge pull request #2740 from lioncash/bra
shader/decode/other: Correct branch indirect argument within BRA handling
Diffstat (limited to '')
-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;