gallium: remove old bind_*_sampler_states() functions
authorBrian Paul <brianp@vmware.com>
Thu, 12 Sep 2013 23:31:28 +0000 (17:31 -0600)
committerBrian Paul <brianp@vmware.com>
Thu, 3 Oct 2013 20:05:29 +0000 (14:05 -0600)
The new bind_sampler_states() function takes a shader argument to
specify the shader stage.

src/gallium/include/pipe/p_context.h

index 2a8e03c0b32a5c4c608d74d440cd1eee143d8b4d..9d6b9b5db49ee31bd5bcc018855f1fd3ffc401e3 100644 (file)
@@ -139,24 +139,9 @@ struct pipe_context {
 
    void * (*create_sampler_state)(struct pipe_context *,
                                   const struct pipe_sampler_state *);
-
    void   (*bind_sampler_states)(struct pipe_context *,
                                  unsigned shader, unsigned start_slot,
                                  unsigned num_samplers, void **samplers);
-
-   void   (*bind_fragment_sampler_states)(struct pipe_context *,
-                                          unsigned num_samplers,
-                                          void **samplers);
-   void   (*bind_vertex_sampler_states)(struct pipe_context *,
-                                        unsigned num_samplers,
-                                        void **samplers);
-   void   (*bind_geometry_sampler_states)(struct pipe_context *,
-                                          unsigned num_samplers,
-                                          void **samplers);
-   void   (*bind_compute_sampler_states)(struct pipe_context *,
-                                         unsigned start_slot,
-                                         unsigned num_samplers,
-                                         void **samplers);
    void   (*delete_sampler_state)(struct pipe_context *, void *);
 
    void * (*create_rasterizer_state)(struct pipe_context *,