util: simplify util_pstipple_create_fragment_shader() params
authorBrian Paul <brianp@vmware.com>
Fri, 31 Oct 2014 01:13:57 +0000 (19:13 -0600)
committerBrian Paul <brianp@vmware.com>
Fri, 31 Oct 2014 21:29:59 +0000 (15:29 -0600)
commitccd1ea9d52bc7fd11d9f05dc23ae7289fd0b9a99
tree2ca58e6898ad77622c0a47813f9ddf7d5ad78371
parente3ecb8206ac4cd50bbcd27fafa578a11b0b9f11a
util: simplify util_pstipple_create_fragment_shader() params

Pass and return tgsi_token buffers instead of pipe_shader_state.

And update softpipe driver (the only user of this function).

Reviewed-by: Charmaine Lee <charmainel@vmware.com>
src/gallium/auxiliary/util/u_pstipple.c
src/gallium/auxiliary/util/u_pstipple.h
src/gallium/drivers/softpipe/sp_state_shader.c