st/mesa: fix bitmap,drawpix,drawtex for PIPE_CAP_TGSI_TEXCOORD
authorChristoph Bumiller <e0425955@student.tuwien.ac.at>
Sat, 30 Mar 2013 13:57:21 +0000 (14:57 +0100)
committerChristoph Bumiller <e0425955@student.tuwien.ac.at>
Wed, 3 Apr 2013 10:54:43 +0000 (12:54 +0200)
commite45c969fe5890472d0a49bf2f7d561f3d315be2a
tree2904dda4be9d6cd1d706a3604be0592ef45c5d93
parent2a8145d36b0f04d0f26c1628222a8b5c4830f435
st/mesa: fix bitmap,drawpix,drawtex for PIPE_CAP_TGSI_TEXCOORD

NOTE: Changed the semantic index for the drawtex coordinate to
be the texture unit index instead of always 0.
Not sure if this is correct but since the value seems to depend
on the unit it would make sense to use different varying slots.
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c
src/mesa/state_tracker/st_cb_drawtex.c