nv all: Copy shader tokens on create, free on delete.
authorYounes Manton <younes.m@gmail.com>
Thu, 24 Jul 2008 03:35:23 +0000 (23:35 -0400)
committerYounes Manton <younes.m@gmail.com>
Thu, 24 Jul 2008 03:46:45 +0000 (23:46 -0400)
commita8da04cb861b8f9caf3acd33f52f64621f0c15e2
treebacbfd492330e23f9d670e4319c3f8c07f004153
parentb4d198e47704f3b79c5a61877846172ae9d4b4c0
nv all: Copy shader tokens on create, free on delete.

Must copy token stream on shader create, client is allowed to free
their copy after creating the state object.
src/gallium/drivers/nv04/nv04_state.c
src/gallium/drivers/nv04/nv04_state.h
src/gallium/drivers/nv10/nv10_state.c
src/gallium/drivers/nv10/nv10_state.h
src/gallium/drivers/nv30/nv30_state.c
src/gallium/drivers/nv40/nv40_state.c
src/gallium/drivers/nv50/nv50_state.c
src/gallium/state_trackers/g3dvl/vl_context.c