summaryrefslogtreecommitdiff
path: root/doxygen/tnl.doxy
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-03-08 12:12:31 -0800
committerEric Anholt <eric@anholt.net>2010-03-08 14:23:18 -0800
commitbc632d04370566c1156cbd0345fe303834f0b910 (patch)
treebd3d39bc412503773b627aae68c0e887371f81db /doxygen/tnl.doxy
parent1d84808dc045d7fcf2fade8d1504bc25e7c5041a (diff)
i965: Fix up the handling of point sprite coordinate replacement.
The code was walking over the regs of pairs of attributes and checking whether the attribute with a given reg index had point sprite enabled. So the point sprite setup code was rarely even getting executed. Instead, we need to determine which channels of a reg need point sprite coordinate replacement. In addition, it was multiplying the attribute by 1/w, when it's supposed to cover (0, 1) in each direction regardless of w, and it wasn't filling in the Z and W components of the texcoord as specified. Fixes piglit point-sprite and the spriteblast demo. Bug #24431, #22245.
Diffstat (limited to 'doxygen/tnl.doxy')
0 files changed, 0 insertions, 0 deletions