diff options
author | Eric Anholt <[email protected]> | 2013-02-20 14:00:47 -0800 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-02-25 11:21:44 -0800 |
commit | 50a5d5dea0c21886bc3445c0ad0928b03e64ab10 (patch) | |
tree | 0a12e1ac0bd278de6e78dcbed4db41cc64033bce /src/gallium/drivers/llvmpipe | |
parent | 3cdb548bfbc77522ed4e956f7457c8339182ff8c (diff) |
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 <[email protected]>
Note: This is a candidate for the stable branches.
Diffstat (limited to 'src/gallium/drivers/llvmpipe')
0 files changed, 0 insertions, 0 deletions