From: Brian Paul Date: Thu, 12 Sep 2013 21:16:07 +0000 (-0600) Subject: softpipe: remove old bind_*_sampler_states() functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6e640545aca37822e586c9f60c78a9516c82ead3;p=mesa.git softpipe: remove old bind_*_sampler_states() functions --- 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;