GS:SW: Clamp Z with unsigned clamp

This commit is contained in:
TellowKrinkle 2022-05-09 10:17:02 -05:00 committed by refractionpcsx2
parent 916754ea6d
commit 3f027b2698
1 changed files with 1 additions and 1 deletions

View File

@ -1095,7 +1095,7 @@ void GSDrawScanlineCodeGenerator2::TestZ(const XYm& temp1, const XYm& temp2)
const u8 amt = (u8)((m_sel.zpsm & 0x3) * 8);
pcmpeqd(temp1, temp1);
psrld(temp1, amt);
pminsd(xym0, temp1);
pminud(xym0, temp1);
}
if (m_sel.zwrite)