summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2013-02-20 14:00:47 -0800
committerEric Anholt <eric@anholt.net>2013-02-25 11:21:44 -0800
commit50a5d5dea0c21886bc3445c0ad0928b03e64ab10 (patch)
tree0a12e1ac0bd278de6e78dcbed4db41cc64033bce /include
parent3cdb548bfbc77522ed4e956f7457c8339182ff8c (diff)
downloadexternal_mesa3d-50a5d5dea0c21886bc3445c0ad0928b03e64ab10.zip
external_mesa3d-50a5d5dea0c21886bc3445c0ad0928b03e64ab10.tar.gz
external_mesa3d-50a5d5dea0c21886bc3445c0ad0928b03e64ab10.tar.bz2
i965: Fix the W value of deprecated pointcoords on pre-gen6.
When you didn't have a texcoord array bound (or a non-1 current w attrib), we were telling the fragment shader that it could just use "1" instead of doing expensive pre-gen6 math to invert it. If you drew the point with a non-1 W value, then you'd get the right size (since all the vertex computations worked), but we'd mis-interpolate the coordinate across the face. Fixes the mesa pointsprite demo on GM45. Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=30232 Reviewed-and-tested-by: Ian Romanick <ian.d.romanick@intel.com> Note: This is a candidate for the stable branches.
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions