llvmpipe: make remove_shader_variant static.
authorDave Airlie <airlied@redhat.com>
Wed, 19 Jun 2019 20:47:08 +0000 (06:47 +1000)
committerDave Airlie <airlied@redhat.com>
Fri, 21 Jun 2019 00:27:57 +0000 (10:27 +1000)
this isn't used outside this file.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/gallium/drivers/llvmpipe/lp_state_fs.c
src/gallium/drivers/llvmpipe/lp_state_fs.h

index ab285bed1cab9ef8b83de7fbd0e266657113cdf6..b05997a3aab9a9c92514e17dc41446ec051576d4 100644 (file)
@@ -3023,7 +3023,7 @@ llvmpipe_bind_fs_state(struct pipe_context *pipe, void *fs)
  * Remove shader variant from two lists: the shader's variant list
  * and the context's variant list.
  */
-void
+static void
 llvmpipe_remove_shader_variant(struct llvmpipe_context *lp,
                                struct lp_fragment_shader_variant *variant)
 {
index 28eccde17f8ce558c52a92f6417f816b1e37fcdc..dc04df8bd94b175c2934b12624a2359c81a810f1 100644 (file)
@@ -145,8 +145,4 @@ struct lp_fragment_shader
 void
 lp_debug_fs_variant(const struct lp_fragment_shader_variant *variant);
 
-void
-llvmpipe_remove_shader_variant(struct llvmpipe_context *lp,
-                               struct lp_fragment_shader_variant *variant);
-
 #endif /* LP_STATE_FS_H_ */