summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2014-10-30 19:11:54 -0600
committerBrian Paul <[email protected]>2014-10-31 15:29:59 -0600
commite3ecb8206ac4cd50bbcd27fafa578a11b0b9f11a (patch)
tree853475b46956ed7a6de870fb506678e9ccce67d8
parent2b9e63823f960ce632ba4b0bbc76ddf3de43404e (diff)
softpipe: remove unused softpipe_create_fs_variant_exec() parameter
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r--src/gallium/drivers/softpipe/sp_fs.h3
-rw-r--r--src/gallium/drivers/softpipe/sp_fs_exec.c3
-rw-r--r--src/gallium/drivers/softpipe/sp_state_shader.c2
3 files changed, 3 insertions, 5 deletions
diff --git a/src/gallium/drivers/softpipe/sp_fs.h b/src/gallium/drivers/softpipe/sp_fs.h
index 5e4f1a1c0b6..4fac9b4aaaf 100644
--- a/src/gallium/drivers/softpipe/sp_fs.h
+++ b/src/gallium/drivers/softpipe/sp_fs.h
@@ -33,8 +33,7 @@
struct sp_fragment_shader_variant *
-softpipe_create_fs_variant_exec(struct softpipe_context *softpipe,
- const struct pipe_shader_state *templ);
+softpipe_create_fs_variant_exec(struct softpipe_context *softpipe);
struct tgsi_interp_coef;
diff --git a/src/gallium/drivers/softpipe/sp_fs_exec.c b/src/gallium/drivers/softpipe/sp_fs_exec.c
index 3188dd14b06..f3814fdc717 100644
--- a/src/gallium/drivers/softpipe/sp_fs_exec.c
+++ b/src/gallium/drivers/softpipe/sp_fs_exec.c
@@ -189,8 +189,7 @@ exec_delete(struct sp_fragment_shader_variant *var,
struct sp_fragment_shader_variant *
-softpipe_create_fs_variant_exec(struct softpipe_context *softpipe,
- const struct pipe_shader_state *templ)
+softpipe_create_fs_variant_exec(struct softpipe_context *softpipe)
{
struct sp_exec_fragment_shader *shader;
diff --git a/src/gallium/drivers/softpipe/sp_state_shader.c b/src/gallium/drivers/softpipe/sp_state_shader.c
index a2960e58720..93c547d2911 100644
--- a/src/gallium/drivers/softpipe/sp_state_shader.c
+++ b/src/gallium/drivers/softpipe/sp_state_shader.c
@@ -64,7 +64,7 @@ create_fs_variant(struct softpipe_context *softpipe,
#endif
/* codegen, create variant object */
- var = softpipe_create_fs_variant_exec(softpipe, curfs);
+ var = softpipe_create_fs_variant_exec(softpipe);
if (var) {
var->key = *key;