diff options
author | Tim Rowley <[email protected]> | 2017-05-24 13:36:00 -0500 |
---|---|---|
committer | Tim Rowley <[email protected]> | 2017-05-30 17:19:51 -0500 |
commit | b714208415137c975019fa4b991b88503fd7df75 (patch) | |
tree | 5ad5acfe52cf99f794d68e0f521357dfcefdabb6 /src/gallium/drivers/swr | |
parent | 56535959fd5acf1066506d6387adb16d86d4c65c (diff) |
swr/rast: remove extra pixel center adjustment in BinPostSetupPoints
Reviewed-by: Bruce Cherniak <[email protected]>
Diffstat (limited to 'src/gallium/drivers/swr')
-rw-r--r-- | src/gallium/drivers/swr/rasterizer/core/binner.cpp | 5 |
1 files changed, 0 insertions, 5 deletions
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); |