mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-05-24 20:35:01 +00:00
shader_recompiler: Implement S_BCNT1_I32_B64 and S_FF1_I32_B64 (#1889)
* shader_recompiler: Implement S_BCNT1_I32_B64 * shader_recompiler: Implement S_FF1_I32_B64 * shader_recompiler: Implement IEqual for 64-bit. * shader_recompiler: Fix immediate type in S_FF1_I32_B32
This commit is contained in:
parent
1c5947d93b
commit
b1f74660df
9 changed files with 68 additions and 12 deletions
|
@ -249,7 +249,7 @@ std::pair<const IR::Inst*, bool> TryDisableAnisoLod0(const IR::Inst* inst) {
|
|||
|
||||
// Select should be based on zero check
|
||||
const auto* prod0 = inst->Arg(0).InstRecursive();
|
||||
if (prod0->GetOpcode() != IR::Opcode::IEqual ||
|
||||
if (prod0->GetOpcode() != IR::Opcode::IEqual32 ||
|
||||
!(prod0->Arg(1).IsImmediate() && prod0->Arg(1).U32() == 0u)) {
|
||||
return not_found;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue