From 9c611fb38119d308c73dc777a1d7d1336b22fab5 Mon Sep 17 00:00:00 2001 From: Gert Wollny Date: Thu, 2 May 2019 15:54:55 +0200 Subject: [PATCH] softpipe: Remove unused static function 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 Reviewed-by: Eric Anholt --- src/gallium/drivers/softpipe/sp_tex_sample.c | 9 --------- 1 file changed, 9 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_tex_sample.c b/src/gallium/drivers/softpipe/sp_tex_sample.c index a4470e6cb07..45d4eda5377 100644 --- a/src/gallium/drivers/softpipe/sp_tex_sample.c +++ b/src/gallium/drivers/softpipe/sp_tex_sample.c @@ -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) -- 2.30.2