i965/gen6: Fix point sprite texture coordinate overrides.
authorEric Anholt <eric@anholt.net>
Sun, 5 Jun 2011 18:50:00 +0000 (11:50 -0700)
committerEric Anholt <eric@anholt.net>
Thu, 9 Jun 2011 15:41:51 +0000 (08:41 -0700)
commitf304bb8a5d040d99db47a65813d216d11c66fb47
tree8afb46c45075c52ecf6d74cd97c5e498e1ea3f36
parente7280b16d634e1f434bebbce83996b3d30d0419c
i965/gen6: Fix point sprite texture coordinate overrides.

We were assuming that the input attribute n to the FS was
FRAG_ATTRIB_TEXn, which happened to be true often enough for our
testcases.

Acked-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/gen6_sf_state.c