r300g: add generating texture coordinates for point sprites
authorMarek Olšák <maraeo@gmail.com>
Thu, 24 Dec 2009 20:29:41 +0000 (21:29 +0100)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Apr 2010 23:18:47 +0000 (09:18 +1000)
commit745c4b568573fd5353e0f790251af64098742b1a
tree593ee7fb12ccaabfbe4bcc8adac6d99281f4ce5d
parent6917ef10f20d2c6de92e5432b9483d9648d8b0c0
r300g: add generating texture coordinates for point sprites

[airlied -
Convert sprite coord index to a per-coord enable bit
set the rasteriser block up correctly for point sprites.

The inputs to the RS hw block change for sprite coords, so fix them up
properly - this fixes piglit point-sprite test.
]

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r300/r300_context.h
src/gallium/drivers/r300/r300_emit.c
src/gallium/drivers/r300/r300_state.c
src/gallium/drivers/r300/r300_state_derived.c
src/gallium/drivers/r300/r300_state_invariant.c