gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()
authorBrian Paul <brian.paul@tungstengraphics.com>
Sat, 17 May 2008 16:30:21 +0000 (10:30 -0600)
committerBrian Paul <brian.paul@tungstengraphics.com>
Sat, 17 May 2008 16:30:21 +0000 (10:30 -0600)
commit9671f7ae476cadb46f9f8f9d0363f24aabaf9f87
tree8fb1c3b27bc41cb5b2a5a144746d5eb5991facbc
parent718a2d8c7a125609a8dca813703047e24de09653
gallium: in drivers, make copy of tokens passed to pipe->create_vs/fs_state()

The caller can then free the token array immediately.
src/gallium/auxiliary/draw/draw_vs_exec.c
src/gallium/auxiliary/draw/draw_vs_llvm.c
src/gallium/auxiliary/draw/draw_vs_sse.c
src/gallium/auxiliary/tgsi/util/tgsi_parse.c
src/gallium/auxiliary/tgsi/util/tgsi_parse.h
src/gallium/drivers/cell/ppu/cell_state_shader.c
src/gallium/drivers/i915simple/i915_state.c
src/gallium/drivers/i965simple/brw_state.c
src/gallium/drivers/softpipe/sp_fs_exec.c
src/gallium/drivers/softpipe/sp_state.h
src/gallium/drivers/softpipe/sp_state_fs.c