projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b99451
)
gallium: add pipe_context::bind_sampler_states()
author
Brian Paul
<brianp@vmware.com>
Thu, 12 Sep 2013 20:55:06 +0000
(14:55 -0600)
committer
Brian Paul
<brianp@vmware.com>
Thu, 3 Oct 2013 20:05:26 +0000
(14:05 -0600)
The bind_vertex/geometry/fragment/compute_sampler_states() functions
will be replaced by a single functions.
src/gallium/include/pipe/p_context.h
patch
|
blob
|
history
diff --git
a/src/gallium/include/pipe/p_context.h
b/src/gallium/include/pipe/p_context.h
index 7d09ce4b19a47387d46eb5f9e899f8c2789559fa..2a8e03c0b32a5c4c608d74d440cd1eee143d8b4d 100644
(file)
--- 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);