[Mesa-dev] [PATCH 01/24] swr/rast: remove extra pixel center adjustment in BinPostSetupPoints
Tim Rowley
timothy.o.rowley at intel.com
Sat May 27 21:24:56 UTC 2017
---
src/gallium/drivers/swr/rasterizer/core/binner.cpp | 5 -----
1 file changed, 5 deletions(-)
diff --git a/src/gallium/drivers/swr/rasterizer/core/binner.cpp b/src/gallium/drivers/swr/rasterizer/core/binner.cpp
index 4c6a5b1..61b3b66 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);
--
2.7.4
More information about the mesa-dev
mailing list