i965/gen7: Fix point sprite texture coordinate overrides.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jun 2011 22:11:22 +0000 (15:11 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Jul 2011 17:46:35 +0000 (10:46 -0700)
commit147d0102952b7c0b16906c08da2ae447ec68185a
tree7f8af07e6c429b605d222eac858a7fc078c14361
parent5edb3ddf4191b31b4a4e43a85fe1bfbd62a8cb17
i965/gen7: Fix point sprite texture coordinate overrides.

This is exactly analogous to Eric's Gen6 change in commit
f304bb8a5d040d99db47a65813d216d11c66fb47.  His explanation:

"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."

Signed-off-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Kenneth Graunke <kenneth@whitecape.org>
NOTE: This is a candidate for the 7.11 branch.
src/mesa/drivers/dri/i965/gen7_sf_state.c