softpipe: Remove unused static function
authorGert Wollny <gert.wollny@collabora.com>
Thu, 2 May 2019 13:54:55 +0000 (15:54 +0200)
committerGert Wollny <gw.fossdev@gmail.com>
Wed, 17 Jul 2019 04:52:27 +0000 (04:52 +0000)
Thanks to Eric Engestrom for pointing out that there was something wrong
with that function.

Fixes: 724a73509e1bc1ce3abf9500e457bb2911b642db
  softpipe: Prepare handling explicit gradients

Signed-off-by: Gert Wollny <gert.wollny@collabora.com>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/gallium/drivers/softpipe/sp_tex_sample.c

index a4470e6cb0711098b9ff487f0098b35ffa7ebde8..45d4eda5377e67b169ab91155d2951fe4fd64526 100644 (file)
@@ -659,15 +659,6 @@ compute_lambda_vert(const struct sp_sampler_view *sview,
 }
 
 
-static float
-compute_lambda_vert_explicite_gradients(UNUSED const struct sp_sampler_view *sview,
-                                        UNUSED const float derivs[3][2][TGSI_QUAD_SIZE],
-                                        UNUSED int quad)
-{
-   return 0.0f;
-}
-
-
 compute_lambda_from_grad_func
 softpipe_get_lambda_from_grad_func(const struct pipe_sampler_view *view,
                                    enum pipe_shader_type shader)