Skip to content
Snippets Groups Projects
Unverified Commit 223a535f authored by Fernando Sahmkow's avatar Fernando Sahmkow Committed by GitHub
Browse files

Merge pull request #2740 from lioncash/bra

shader/decode/other: Correct branch indirect argument within BRA handling
parents c3218c11 e2d7dda1
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