summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-09-12 14:55:06 -0600
committerBrian Paul <[email protected]>2013-10-03 14:05:26 -0600
commit755d788fe24732127af0997f26e2fb61e5aa6173 (patch)
tree3f86988f30e02411061d7fa756d8e1bc244a11eb /src
parent9b99451da2451c0e6d8eeb118ef3284603f58f08 (diff)
gallium: add pipe_context::bind_sampler_states()
The bind_vertex/geometry/fragment/compute_sampler_states() functions will be replaced by a single functions.
Diffstat (limited to 'src')
-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 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);