mesa: Fix delayed state flagging for EXT_sso-related program changes.
authorEric Anholt <eric@anholt.net>
Sat, 6 Nov 2010 18:43:45 +0000 (11:43 -0700)
committerEric Anholt <eric@anholt.net>
Sat, 6 Nov 2010 18:44:32 +0000 (11:44 -0700)
commitd348b0c72d41603178c0923e276869c7280904c7
tree6fff215e2889f1e30e89624b5c3862ae15463121
parent8eaa97592a4330d1a253f6fa32df7a3fd04f53ae
mesa: Fix delayed state flagging for EXT_sso-related program changes.

Flushing the vertices after having already updated the state doesn't
do any good.  Fixes useshaderprogram-flushverts-1.  As a side effect,
by moving it to the right place we end up skipping no-op state changes
for traditional glUseProgram.
src/mesa/main/shaderapi.c