r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flag
authorBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 14:59:47 +0000 (08:59 -0600)
committerBrian Paul <brianp@vmware.com>
Wed, 22 Apr 2009 14:59:47 +0000 (08:59 -0600)
commitf48473e42511f8d37a239a07f791bc0a87209e5b
treef6d2ad061b3ab88e469b0c96498630edee119c5e
parent7843243deedd66b0c94c8874e732ed7e8c6617ff
r200/r300/r500: add _NEW_PROGRAM_CONSTANTS flag

Make sure we detect constant buffer changes indicated by the new flag.
Should be able to remove _NEW_PROGRAM (and _NEW_MODELVIEW, _NEW_LIGHT, etc)
from several places (someday.
src/mesa/drivers/dri/r200/r200_state.c
src/mesa/drivers/dri/r300/r300_fragprog.c
src/mesa/drivers/dri/r300/r300_state.c
src/mesa/drivers/dri/r300/r500_fragprog.c