From: Brian Paul Date: Thu, 12 Sep 2013 20:55:06 +0000 (-0600) Subject: gallium: add pipe_context::bind_sampler_states() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=755d788fe24732127af0997f26e2fb61e5aa6173;p=mesa.git gallium: add pipe_context::bind_sampler_states() The bind_vertex/geometry/fragment/compute_sampler_states() functions will be replaced by a single functions. --- diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 7d09ce4b19a..2a8e03c0b32 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -139,6 +139,11 @@ 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);