summaryrefslogtreecommitdiffstats
path: root/src/gallium/include/pipe/p_context.h
diff options
context:
space:
mode:
authorKai Wasserbäch <[email protected]>2016-08-27 04:08:00 -0600
committerBrian Paul <[email protected]>2016-08-29 09:07:33 -0600
commit15fe288deae0373f566f8f723c915d8c8f89ffa6 (patch)
tree065ac8f9e2594ad648b31b538c34d324e696f303 /src/gallium/include/pipe/p_context.h
parent532db3b7881f3dfcd299320cbf44443d06b88373 (diff)
gallium: Use enum pipe_shader_type in set_shader_buffers()
Signed-off-by: Kai Wasserbäch <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/include/pipe/p_context.h')
-rw-r--r--src/gallium/include/pipe/p_context.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h
index b74679d1f82..bea192477c8 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -314,7 +314,8 @@ struct pipe_context {
* unless it's NULL, in which case no buffers will
* be bound.
*/
- void (*set_shader_buffers)(struct pipe_context *, unsigned shader,
+ void (*set_shader_buffers)(struct pipe_context *,
+ enum pipe_shader_type shader,
unsigned start_slot, unsigned count,
const struct pipe_shader_buffer *buffers);