From: Brian Paul Date: Thu, 12 Sep 2013 23:31:28 +0000 (-0600) Subject: gallium: remove old bind_*_sampler_states() functions X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=379deaf5c65c03b78714f225954bce5a16c22905;p=mesa.git gallium: remove old bind_*_sampler_states() functions The new bind_sampler_states() function takes a shader argument to specify the shader stage. --- diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 2a8e03c0b32..9d6b9b5db49 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -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 *,