diff options
author | Gert Wollny <[email protected]> | 2019-05-02 15:54:55 +0200 |
---|---|---|
committer | Juan A. Suarez Romero <[email protected]> | 2019-07-17 08:22:59 +0000 |
commit | fde2473a06fe0b374b3b3ac311e23aa79ea4c92f (patch) | |
tree | 8b5f604a8ce48365ce1319c243985589eda995ab | |
parent | b43e2d5a1212d35c8b7554d2e4d12425a29fe42a (diff) |
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 <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
(cherry picked from commit 9c611fb38119d308c73dc777a1d7d1336b22fab5)
-rw-r--r-- | src/gallium/drivers/softpipe/sp_tex_sample.c | 9 |
1 files changed, 0 insertions, 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) |