From 6e640545aca37822e586c9f60c78a9516c82ead3 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 12 Sep 2013 15:16:07 -0600 Subject: [PATCH] softpipe: remove old bind_*_sampler_states() functions --- .../drivers/softpipe/sp_state_sampler.c | 31 ------------------- 1 file changed, 31 deletions(-) diff --git a/src/gallium/drivers/softpipe/sp_state_sampler.c b/src/gallium/drivers/softpipe/sp_state_sampler.c index ea592399fbe..be9d6457c88 100644 --- a/src/gallium/drivers/softpipe/sp_state_sampler.c +++ b/src/gallium/drivers/softpipe/sp_state_sampler.c @@ -90,34 +90,6 @@ softpipe_bind_sampler_states(struct pipe_context *pipe, } - -static void -softpipe_bind_fragment_sampler_states(struct pipe_context *pipe, - unsigned num, void **samplers) -{ - softpipe_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, samplers); -} - - -static void -softpipe_bind_vertex_sampler_states(struct pipe_context *pipe, - unsigned num, - void **samplers) -{ - softpipe_bind_sampler_states(pipe, PIPE_SHADER_VERTEX, 0, num, samplers); -} - - -static void -softpipe_bind_geometry_sampler_states(struct pipe_context *pipe, - unsigned num, - void **samplers) -{ - softpipe_bind_sampler_states(pipe, PIPE_SHADER_GEOMETRY, 0, num, samplers); -} - - - static void softpipe_sampler_view_destroy(struct pipe_context *pipe, struct pipe_sampler_view *view) @@ -233,9 +205,6 @@ softpipe_init_sampler_funcs(struct pipe_context *pipe) { pipe->create_sampler_state = softpipe_create_sampler_state; pipe->bind_sampler_states = softpipe_bind_sampler_states; - pipe->bind_fragment_sampler_states = softpipe_bind_fragment_sampler_states; - pipe->bind_vertex_sampler_states = softpipe_bind_vertex_sampler_states; - pipe->bind_geometry_sampler_states = softpipe_bind_geometry_sampler_states; pipe->delete_sampler_state = softpipe_delete_sampler_state; pipe->set_fragment_sampler_views = softpipe_set_fragment_sampler_views; -- 2.30.2