gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 17:20:44 +0000 (11:20 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 4 Apr 2008 17:20:44 +0000 (11:20 -0600)
commit72f2c55069f167a46560005931382e3b472f92ed
tree44627d1e5bad778086872a1def2817b4bcb78877
parent84501e68f6294370d6f2f6aec4e7eab57bcc0e72
gallium: make sure to set the SamplersUsed field for bitmap/drawpixels shaders

Also, make sure that field is copied/updated in the program clone and combine functions.
Without this we weren't getting SAMP declarations in the TGSI shaders.
src/mesa/shader/program.c
src/mesa/state_tracker/st_atom_pixeltransfer.c
src/mesa/state_tracker/st_cb_bitmap.c
src/mesa/state_tracker/st_cb_drawpixels.c