Skip to content
Snippets Groups Projects
Commit e2d7dda1 authored by Lioncash's avatar Lioncash
Browse files

shader/decode/other: Correct branch indirect argument within BRA handling

This appears to have been a copy/paste error introduced within
8a6fc529
parent 1bdb59fc
No related branches found
No related tags found
No related merge requests found
...@@ -102,7 +102,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) { ...@@ -102,7 +102,7 @@ u32 ShaderIR::DecodeOther(NodeBlock& bb, u32 pc) {
PRECISE, op_a, Immediate(3)); PRECISE, op_a, Immediate(3));
const Node operand = const Node operand =
Operation(OperationCode::IAdd, PRECISE, convert, Immediate(target)); 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; const Tegra::Shader::ConditionCode cc = instr.flow_condition_code;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment