summaryrefslogtreecommitdiffstats
path: root/src/gallium/include
diff options
context:
space:
mode:
authorKai Wasserbäch <kai@dev.carbon-project.org>2016-08-27 04:08:00 -0600
committerBrian Paul <brianp@vmware.com>2016-08-29 09:07:33 -0600
commit15fe288deae0373f566f8f723c915d8c8f89ffa6 (patch)
tree065ac8f9e2594ad648b31b538c34d324e696f303 /src/gallium/include
parent532db3b7881f3dfcd299320cbf44443d06b88373 (diff)
downloadexternal_mesa3d-15fe288deae0373f566f8f723c915d8c8f89ffa6.zip
external_mesa3d-15fe288deae0373f566f8f723c915d8c8f89ffa6.tar.gz
external_mesa3d-15fe288deae0373f566f8f723c915d8c8f89ffa6.tar.bz2
gallium: Use enum pipe_shader_type in set_shader_buffers()
Signed-off-by: Kai Wasserbäch <kai@dev.carbon-project.org> Reviewed-by: Brian Paul <brianp@vmware.com>
Diffstat (limited to 'src/gallium/include')
-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 b74679d..bea1924 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);