diff options
author | Fernando Sahmkow <fsahmkow27@gmail.com> | 2019-07-17 20:25:08 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-07-17 20:25:08 +0200 |
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 yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.gz yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.bz2 yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.lz yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.xz yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.tar.zst yuzu-223a535f3fd560485b3671e8d8b14e1f3389ec3d.zip |
-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) { 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; |