From: Brian Paul Date: Thu, 12 Sep 2013 21:16:14 +0000 (-0600) Subject: llvmpipe: remove old bind_*_sampler_states() functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2d0effaa109931dbd97823e906d94d9666710670;p=mesa.git llvmpipe: remove old bind_*_sampler_states() functions --- diff --git a/src/gallium/drivers/llvmpipe/lp_state_sampler.c b/src/gallium/drivers/llvmpipe/lp_state_sampler.c index 331af3cc02c..6bf2fb86032 100644 --- a/src/gallium/drivers/llvmpipe/lp_state_sampler.c +++ b/src/gallium/drivers/llvmpipe/lp_state_sampler.c @@ -110,29 +110,6 @@ llvmpipe_bind_sampler_states(struct pipe_context *pipe, } -static void -llvmpipe_bind_fragment_sampler_states(struct pipe_context *pipe, - unsigned num, void **samplers) -{ - llvmpipe_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, samplers); -} - - -static void -llvmpipe_bind_vertex_sampler_states(struct pipe_context *pipe, - unsigned num, void **samplers) -{ - llvmpipe_bind_sampler_states(pipe, PIPE_SHADER_VERTEX, 0, num, samplers); -} - - -static void -llvmpipe_bind_geometry_sampler_states(struct pipe_context *pipe, - unsigned num, void **samplers) -{ - llvmpipe_bind_sampler_states(pipe, PIPE_SHADER_GEOMETRY, 0, num, samplers); -} - static void llvmpipe_set_sampler_views(struct pipe_context *pipe, unsigned shader, @@ -418,9 +395,6 @@ llvmpipe_init_sampler_funcs(struct llvmpipe_context *llvmpipe) llvmpipe->pipe.create_sampler_state = llvmpipe_create_sampler_state; llvmpipe->pipe.bind_sampler_states = llvmpipe_bind_sampler_states; - llvmpipe->pipe.bind_fragment_sampler_states = llvmpipe_bind_fragment_sampler_states; - llvmpipe->pipe.bind_vertex_sampler_states = llvmpipe_bind_vertex_sampler_states; - llvmpipe->pipe.bind_geometry_sampler_states = llvmpipe_bind_geometry_sampler_states; llvmpipe->pipe.set_fragment_sampler_views = llvmpipe_set_fragment_sampler_views; llvmpipe->pipe.set_vertex_sampler_views = llvmpipe_set_vertex_sampler_views; llvmpipe->pipe.set_geometry_sampler_views = llvmpipe_set_geometry_sampler_views;