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:37 -0600
commit4c53267b8f3e79988ea587db071afefc17e4ed8f (patch)
tree3953a7d83fdaf9da3c6f2c33a97c272e192a90f2 /src/gallium/include
parent15fe288deae0373f566f8f723c915d8c8f89ffa6 (diff)
downloadexternal_mesa3d-4c53267b8f3e79988ea587db071afefc17e4ed8f.zip
external_mesa3d-4c53267b8f3e79988ea587db071afefc17e4ed8f.tar.gz
external_mesa3d-4c53267b8f3e79988ea587db071afefc17e4ed8f.tar.bz2
gallium: Use enum pipe_shader_type in set_shader_images()
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 bea1924..f5841d7 100644
--- a/src/gallium/include/pipe/p_context.h
+++ b/src/gallium/include/pipe/p_context.h
@@ -332,7 +332,8 @@ struct pipe_context {
* unless it's NULL, in which case no images will
* be bound.
*/
- void (*set_shader_images)(struct pipe_context *, unsigned shader,
+ void (*set_shader_images)(struct pipe_context *,
+ enum pipe_shader_type shader,
unsigned start_slot, unsigned count,
const struct pipe_image_view *images);