gallium: fix const buffer update bug
authorBrian <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 21:54:27 +0000 (15:54 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 21 Mar 2008 21:54:27 +0000 (15:54 -0600)
commitfb1f4e207d9becca4a83d4934ff6aebf8270e51a
tree262f8d3bca1f794d7537e50f4d79586384053ce1
parenta39091bc5b68e4d4f5302f1d3f1a138798f54b77
gallium: fix const buffer update bug

If only glUniform is called between two renderings, the const buffers weren't
getting updated.  Need to set the _NEW_PROGRAM flag in st_upload_constants()
as that's the dirty flag set by glUniform.
Fixes glean tapi2 test.
src/mesa/state_tracker/st_atom_constbuf.c