diff options
| author | 2019-07-17 14:25:08 -0400 | |
|---|---|---|
| committer | 2019-07-17 14:25:08 -0400 | |
| commit | 223a535f3fd560485b3671e8d8b14e1f3389ec3d (patch) | |
| tree | aa889eff1c94a9e2b00df76c67594fe26df43bdc | |
| parent | Merge pull request #2726 from lioncash/access (diff) | |
| parent | shader/decode/other: Correct branch indirect argument within BRA handling (diff) | |
| download | yuzu-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.cpp | 2 |
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; |