mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 18:18:06 +02:00
swr/rast: remove extra pixel center adjustment in BinPostSetupPoints
Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
This commit is contained in:
parent
56535959fd
commit
b714208415
1 changed files with 0 additions and 5 deletions
|
|
@ -1528,11 +1528,6 @@ void BinPostSetupPoints(
|
|||
PFN_PROCESS_ATTRIBUTES pfnProcessAttribs = GetProcessAttributesFunc(1,
|
||||
state.backendState.swizzleEnable, state.backendState.constantInterpolationMask);
|
||||
|
||||
// adjust for pixel center location
|
||||
simdscalar offset = g_pixelOffsets[rastState.pixelLocation];
|
||||
primVerts.x = _simd_add_ps(primVerts.x, offset);
|
||||
primVerts.y = _simd_add_ps(primVerts.y, offset);
|
||||
|
||||
// convert to fixed point
|
||||
simdscalari vXi, vYi;
|
||||
vXi = fpToFixedPointVertical(primVerts.x);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue