svga: don't hook in old bind_fragment_sampler_states() functions
authorBrian Paul <brianp@vmware.com>
Thu, 12 Sep 2013 22:10:06 +0000 (16:10 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 20:05:28 +0000 (14:05 -0600)
src/gallium/drivers/svga/svga_pipe_sampler.c

index 9603e0cf0a91b5b8fd03e07f5f8c2085ae23f9f8..b64e8138efbec711651593342c1d2eaa549aa8c8 100644 (file)
@@ -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;