summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary/util/u_pstipple.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-10-30 19:13:57 -0600
committerBrian Paul <[email protected]>2014-10-31 15:29:59 -0600
commitccd1ea9d52bc7fd11d9f05dc23ae7289fd0b9a99 (patch)
tree2ca58e6898ad77622c0a47813f9ddf7d5ad78371 /src/gallium/auxiliary/util/u_pstipple.h
parente3ecb8206ac4cd50bbcd27fafa578a11b0b9f11a (diff)
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 <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_pstipple.h')
-rw-r--r--src/gallium/auxiliary/util/u_pstipple.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gallium/auxiliary/util/u_pstipple.h b/src/gallium/auxiliary/util/u_pstipple.h
index 6fbed80cc93..13155e7f5dc 100644
--- a/src/gallium/auxiliary/util/u_pstipple.h
+++ b/src/gallium/auxiliary/util/u_pstipple.h
@@ -47,9 +47,8 @@ util_pstipple_create_sampler_view(struct pipe_context *pipe,
extern void *
util_pstipple_create_sampler(struct pipe_context *pipe);
-extern struct pipe_shader_state *
-util_pstipple_create_fragment_shader(struct pipe_context *pipe,
- struct pipe_shader_state *fs,
+struct tgsi_token *
+util_pstipple_create_fragment_shader(const struct tgsi_token *tokens,
unsigned *samplerUnitOut);