summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2013-09-12 14:55:06 -0600
committerBrian Paul <brianp@vmware.com>2013-10-03 14:05:26 -0600
commit755d788fe24732127af0997f26e2fb61e5aa6173 (patch)
tree3f86988f30e02411061d7fa756d8e1bc244a11eb
parent9b99451da2451c0e6d8eeb118ef3284603f58f08 (diff)
downloadexternal_mesa3d-755d788fe24732127af0997f26e2fb61e5aa6173.zip
external_mesa3d-755d788fe24732127af0997f26e2fb61e5aa6173.tar.gz
external_mesa3d-755d788fe24732127af0997f26e2fb61e5aa6173.tar.bz2
gallium: add pipe_context::bind_sampler_states()
The bind_vertex/geometry/fragment/compute_sampler_states() functions will be replaced by a single functions.
-rw-r--r--src/gallium/include/pipe/p_context.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index 7d09ce4..2a8e03c 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);