OSDN Git Service

i965/gen7: Add support for gl_PointCoord.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 29 Jun 2011 22:18:55 +0000 (15:18 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 11 Jul 2011 17:46:35 +0000 (10:46 -0700)
commit186e37c75454965e1a58298e878a9585f4866749
tree400f0dfb2ec541726b7f4e88b487f19dd104f771
parent147d0102952b7c0b16906c08da2ae447ec68185a
i965/gen7: Add support for gl_PointCoord.

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

"This is just like PointSprite overrides, but it's always on for that
 attribute."

Fixes glsl-fs-pointcoord and gtf/point_sprites.

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