i915: Enable point sprite coordinate generation
authorIan Romanick <ian.d.romanick@intel.com>
Mon, 30 Nov 2009 01:40:02 +0000 (17:40 -0800)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 30 Nov 2009 01:40:02 +0000 (17:40 -0800)
commitd8d49716cf5d5cabebadc32d7717eec787c75ff1
treece3ee3d34169a1e16dbd4089b455982a555ec3e3
parent0528f40e3b8ca3e59d3a641c4504d34cf9364578
i915: Enable point sprite coordinate generation

Support still isn't completely correct, but it's better.  piglit
point-sprite now passes.  However, glean's pointSprite test fails.  In
that test the texture on the sprite is somehow inverted as though
GL_POINT_SPRITE_COORD_ORIGIN were set to GL_LOWER_LEFT.  i915 hardware
shouldn't be able to do that!

I believe there are also problems when not all texture units have
GL_COORD_REPLACE set.  The hardware enable seems to be all or nothing.

Fixes bug #25313.
src/mesa/drivers/dri/i915/i915_state.c