ffvertex: don't touch tex coords if coord replace is enabled.
authorDave Airlie <airlied@redhat.com>
Mon, 12 Apr 2010 05:40:29 +0000 (15:40 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 12 Apr 2010 23:19:39 +0000 (09:19 +1000)
commit911fa4a4a16e7cb099107ecf79d9ed8f63139236
tree7b4dd698720f703bf97574cf02ef576807c6b611
parent745c4b568573fd5353e0f790251af64098742b1a
ffvertex: don't touch tex coords if coord replace is enabled.

The fixed function vertex program shouldn't need to deal or touch tex coords
if stuffing is enabled.

Though I'm not 100% this won't break assumption made elsewhere it seems like
the correct thing to do, and makes r300g point sprites a lot easier to implement.

draw: fix point-sprite when vertex program is used.

This commit regressed draw, so fix it as well to help bisection.

Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/auxiliary/draw/draw_pipe_wide_point.c
src/mesa/main/ffvertex_prog.c