From 755d788fe24732127af0997f26e2fb61e5aa6173 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 12 Sep 2013 14:55:06 -0600 Subject: [PATCH] gallium: add pipe_context::bind_sampler_states() The bind_vertex/geometry/fragment/compute_sampler_states() functions will be replaced by a single functions. --- src/gallium/include/pipe/p_context.h | 5 +++++ 1 file changed, 5 insertions(+) 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); -- 2.30.2