mirror of
https://github.com/yuzu-emu/yuzu.git
synced 2024-07-04 23:31:19 +01:00
shader/decode/other: Correct branch indirect argument within BRA handling
This appears to have been a copy/paste error introduced within
8a6fc529a9
This commit is contained in:
parent
1bdb59fc6e
commit
e2d7dda166
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue