gallium: in st_program_string_notify() free shader tokens.
authorBrian <brian.paul@tungstengraphics.com>
Fri, 14 Mar 2008 16:19:19 +0000 (10:19 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Fri, 14 Mar 2008 16:23:56 +0000 (10:23 -0600)
commitee55eaa609aee9ffd7ddbc839d7d6161727cee3a
treee20af4d359def3d21f40981c9c6bb453db7ea754
parente4cdce43cebe6a2b38f7ea5145474ca2b12c57bb
gallium: in st_program_string_notify() free shader tokens.

When the shader instructions change, free the TGSI tokens.  This signals the
state tracker to recompile the shader.  Fixes a regression caused by recent
shader/state-tracker changes.
src/mesa/state_tracker/st_cb_program.c