From: Brian Paul Date: Fri, 31 Oct 2014 01:11:54 +0000 (-0600) Subject: softpipe: remove unused softpipe_create_fs_variant_exec() parameter X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e3ecb8206ac4cd50bbcd27fafa578a11b0b9f11a;p=mesa.git softpipe: remove unused softpipe_create_fs_variant_exec() parameter Reviewed-by: Charmaine Lee --- 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;