GS/SW: Replace non-constant shift immediate

This commit is contained in:
Stenzek 2023-12-29 22:20:23 +10:00 committed by Connor McLaughlin
parent fc1304dff5
commit b2a0dba3bb
1 changed files with 1 additions and 1 deletions

View File

@ -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
{