mesa: new _mesa_set_vp_override() function for driver-override of vertex program
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2008 19:39:14 +0000 (13:39 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 10 Oct 2008 19:39:14 +0000 (13:39 -0600)
commit6d4d51d647c27288aa625560bc080231099c0b01
treec14500fe4d13c124cbae39dfa02e6d188d2e6543
parentf7556fdd40ed2719beaba271eee4a7551e212ad1
mesa: new _mesa_set_vp_override() function for driver-override of vertex program

Patch provide by Keith.
Used in state tracker by DrawPixels to indicate that the state tracker (driver)
is using its own vertex program.  This prevents the texenvprogram code from
replacing conventional shader inputs with state vars.
Fixes glDraw/CopyPixels regressions.
src/mesa/main/mtypes.h
src/mesa/main/state.c
src/mesa/main/state.h
src/mesa/main/texenvprogram.c
src/mesa/state_tracker/st_cb_drawpixels.c