From: Tim Rowley Date: Wed, 24 May 2017 18:36:00 +0000 (-0500) Subject: swr/rast: remove extra pixel center adjustment in BinPostSetupPoints X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b714208415137c975019fa4b991b88503fd7df75;p=mesa.git swr/rast: remove extra pixel center adjustment in BinPostSetupPoints Reviewed-by: Bruce Cherniak --- diff --git a/src/gallium/drivers/swr/rasterizer/core/binner.cpp b/src/gallium/drivers/swr/rasterizer/core/binner.cpp index 4c6a5b1e409..61b3b665103 100644 --- a/src/gallium/drivers/swr/rasterizer/core/binner.cpp +++ b/src/gallium/drivers/swr/rasterizer/core/binner.cpp @@ -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);