diff options
author | Gert Wollny <[email protected]> | 2019-05-02 15:54:55 +0200 |
---|---|---|
committer | Gert Wollny <[email protected]> | 2019-07-17 04:52:27 +0000 |
commit | 9c611fb38119d308c73dc777a1d7d1336b22fab5 (patch) | |
tree | fe0c16d6065d9c0a49ffae04cfbd5bc677f51017 /src | |
parent | e2939dc5a149c7def7669ae5daf8ccdab0fb51c1 (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]>
Diffstat (limited to 'src')
-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) |