From: Brian Paul Date: Thu, 12 Sep 2013 22:10:06 +0000 (-0600) Subject: svga: don't hook in old bind_fragment_sampler_states() functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88b17a15f3ce50d4c373908c16b08881916cdabd;p=mesa.git svga: don't hook in old bind_fragment_sampler_states() functions --- diff --git a/src/gallium/drivers/svga/svga_pipe_sampler.c b/src/gallium/drivers/svga/svga_pipe_sampler.c index 9603e0cf0a9..b64e8138efb 100644 --- a/src/gallium/drivers/svga/svga_pipe_sampler.c +++ b/src/gallium/drivers/svga/svga_pipe_sampler.c @@ -187,14 +187,6 @@ svga_bind_sampler_states(struct pipe_context *pipe, } -static void -svga_bind_fragment_sampler_states(struct pipe_context *pipe, - unsigned num, void **sampler) -{ - svga_bind_sampler_states(pipe, PIPE_SHADER_FRAGMENT, 0, num, sampler); -} - - static void svga_delete_sampler_state(struct pipe_context *pipe, void *sampler) { @@ -310,7 +302,6 @@ void svga_init_sampler_functions( struct svga_context *svga ) { svga->pipe.create_sampler_state = svga_create_sampler_state; svga->pipe.bind_sampler_states = svga_bind_sampler_states; - svga->pipe.bind_fragment_sampler_states = svga_bind_fragment_sampler_states; svga->pipe.delete_sampler_state = svga_delete_sampler_state; svga->pipe.set_fragment_sampler_views = svga_set_fragment_sampler_views; svga->pipe.create_sampler_view = svga_create_sampler_view;