Skip to content

Commit e3ec364

Browse files
committed
Another test: just load UV with rounded value.
1 parent c28d8c6 commit e3ec364

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

pcsx2/GS/Renderers/SW/GSDrawScanlineCodeGenerator.arm64.cpp

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2587,20 +2587,19 @@ void GSDrawScanlineCodeGenerator::RoundUV(
25872587
// v = v.blend8(vi - threshold, close_v & round_down_v);
25882588
// v = v.blend8(vi + threshold, close_v & round_up_v);
25892589

2590+
armAsm->Mov(uv.V4S(), tmp1.V4S());
2591+
25902592
armAsm->And(tmp3.V4S(), tmp3.V4S(), tmp2.V4S());
25912593
armAsm->And(tmp4.V4S(), tmp4.V4S(), tmp2.V4S());
25922594
armAsm->Sub(tmp2.V4S(), tmp1.V4S(), tmp5.V4S());
25932595
armAsm->Add(tmp6.V4S(), tmp1.V4S(), tmp5.V4S());
25942596
armAsm->And(tmp2.V4S(), tmp2.V4S(), tmp3.V4S());
25952597
armAsm->And(tmp6.V4S(), tmp6.V4S(), tmp4.V4S());
25962598

2597-
if (!m_sel.ltf) // FIXME: Remove after testing!
2598-
{
2599-
armAsm->Bic(uv.V4S(), uv.V4S(), tmp3.V4S());
2600-
armAsm->Bic(uv.V4S(), uv.V4S(), tmp4.V4S());
2601-
armAsm->Orr(uv.V4S(), uv.V4S(), tmp2.V4S());
2602-
armAsm->Orr(uv.V4S(), uv.V4S(), tmp6.V4S());
2603-
}
2599+
//armAsm->Bic(uv.V4S(), uv.V4S(), tmp3.V4S());
2600+
//armAsm->Bic(uv.V4S(), uv.V4S(), tmp4.V4S());
2601+
//armAsm->Orr(uv.V4S(), uv.V4S(), tmp2.V4S());
2602+
//armAsm->Orr(uv.V4S(), uv.V4S(), tmp6.V4S());
26042603
}
26052604
}
26062605

0 commit comments

Comments
 (0)