Browse Source

Merge pull request #2740 from lioncash/bra

shader/decode/other: Correct branch indirect argument within BRA handling
nce_cpp
Fernando Sahmkow 7 years ago
committed by GitHub
parent
commit
a1abc0fd31
  1. 2
      src/video_core/shader/decode/other.cpp

2
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;

Loading…
Cancel
Save