diff options
author | Brian Paul <brianp@vmware.com> | 2013-09-12 14:55:06 -0600 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2013-09-12 18:07:29 -0600 |
commit | 0ccf6569b84f325800ae4b8bb0ab374524c96a10 (patch) | |
tree | f8100cfe19ca2eacefed24f6eae609548985e45b | |
parent | 79439bd64e49e44274abcf3fe0f9f507453eb75b (diff) |
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.h | 5 |
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 69352f7260..c2bcefa4e4 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); |