Mesa (master): softpipe: remove unused softpipe_create_fs_variant_exec() parameter
Brian Paul
brianp at kemper.freedesktop.org
Fri Oct 31 21:31:45 UTC 2014
Module: Mesa
Branch: master
Commit: e3ecb8206ac4cd50bbcd27fafa578a11b0b9f11a
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e3ecb8206ac4cd50bbcd27fafa578a11b0b9f11a
Author: Brian Paul <brianp at vmware.com>
Date: Thu Oct 30 19:11:54 2014 -0600
softpipe: remove unused softpipe_create_fs_variant_exec() parameter
Reviewed-by: Charmaine Lee <charmainel at vmware.com>
---
src/gallium/drivers/softpipe/sp_fs.h | 3 +--
src/gallium/drivers/softpipe/sp_fs_exec.c | 3 +--
src/gallium/drivers/softpipe/sp_state_shader.c | 2 +-
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 5e4f1a1..4fac9b4 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 3188dd1..f3814fd 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 a2960e5..93c547d 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;
More information about the mesa-commit
mailing list