mirror of https://github.com/PCSX2/pcsx2.git
GS/SW: Replace non-constant shift immediate
This commit is contained in:
parent
fc1304dff5
commit
b2a0dba3bb
|
@ -627,7 +627,7 @@ __ri void GSDrawScanline::CDrawScanline(int pixels, int left, int top, const GSV
|
|||
}
|
||||
|
||||
if (sel.zclamp)
|
||||
zs = zs.min_u32(VectorI::xffffffff().srl32(sel.zpsm * 8));
|
||||
zs = zs.min_u32(VectorI(static_cast<int>(0xFFFFFFFFu >> (sel.zpsm * 8))));
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue