diff options
| author | Lioncash <mathew1800@gmail.com> | 2019-07-16 12:18:19 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2019-07-16 12:20:45 -0400 |
| commit | 778d8fedfaeaed71f09a9ee11d0bad4bd823cef0 (patch) | |
| tree | 4fdb132459ff6795a13296fce3c1710d8073768a /src/video_core/shader/decode/other.cpp | |
| parent | e221290cb70586a42ab5c5cef8001930c7762813 (diff) | |
shader/decode/other: Correct branch indirect argument within BRA handling
This appears to have been a copy/paste error introduced within
d5d4cc30ecee8651d5e1ec0d2d1d4b2ad07a3cad
Diffstat (limited to 'src/video_core/shader/decode/other.cpp')
| -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 42e3de02fc..c0f64d7a0a 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; |
