gallium: return pipe_shader_state from the simple shader functions
authorBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:42:09 +0000 (15:42 -0600)
committerBrian <brian.paul@tungstengraphics.com>
Thu, 27 Mar 2008 21:43:32 +0000 (15:43 -0600)
commitdccbfd8bf0624250a435948029916073d3390191
treea5a5854dd3cb58d92d9b459ad6eb198bbb31df94
parent89222ee49de340774279c9c0bf884649e66ad6df
gallium: return pipe_shader_state from the simple shader functions

Allows us to fix a mem leak (tokens array).
src/gallium/auxiliary/util/u_blit.c
src/gallium/auxiliary/util/u_gen_mipmap.c
src/gallium/auxiliary/util/u_simple_shaders.c
src/gallium/auxiliary/util/u_simple_shaders.h