mesa: signal _NEW_PROGRAM_CONSTANTS instead of _NEW_PROGRAM
authorBrian Paul <brianp@vmware.com>
Fri, 24 Apr 2009 15:43:44 +0000 (09:43 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 24 Apr 2009 15:43:44 +0000 (09:43 -0600)
commit027ed1b505a1bf6e3f5ad4412734d7edf337c08b
tree730a89af01c3cd34e19f571f529b11de2ba2c05e
parentebfbd8c4fef78e3cd9604660e5bb96e3c6df07e5
mesa: signal _NEW_PROGRAM_CONSTANTS instead of _NEW_PROGRAM

Use _NEW_PROGRAM_CONSTANTS when changing constant/uniform buffer values.
Binding a new program/shader sets both _NEW_PROGRAM and _NEW_PROGRAM_CONSTANTS.
src/mesa/shader/arbprogram.c
src/mesa/shader/nvprogram.c
src/mesa/shader/shader_api.c