summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-03-06 19:05:00 -0700
committerBrian Paul <[email protected]>2017-03-08 08:50:20 -0700
commita0927da006ebd00da3fb3e613d399a0b97f081bb (patch)
tree714f3ffd778ef4bfd48f54cfe57550e6ab61110c /src/gallium/drivers/radeonsi
parentb0d39384307d979ba85de6c978661e9e58715bec (diff)
radeonsi: s/uint/enum pipe_shader_type/
This can probably be done in more places in the driver. Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi')
-rw-r--r--src/gallium/drivers/radeonsi/si_descriptors.c3
-rw-r--r--src/gallium/drivers/radeonsi/si_state.h3
2 files changed, 4 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c
index f7cf6b72614..10acb27a25e 100644
--- a/src/gallium/drivers/radeonsi/si_descriptors.c
+++ b/src/gallium/drivers/radeonsi/si_descriptors.c
@@ -1230,7 +1230,8 @@ static void si_set_shader_buffers(struct pipe_context *ctx,
}
}
-void si_get_shader_buffers(struct si_context *sctx, uint shader,
+void si_get_shader_buffers(struct si_context *sctx,
+ enum pipe_shader_type shader,
uint start_slot, uint count,
struct pipe_shader_buffer *sbuf)
{
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h
index f572d2f745c..88827a8919d 100644
--- a/src/gallium/drivers/radeonsi/si_state.h
+++ b/src/gallium/drivers/radeonsi/si_state.h
@@ -289,7 +289,8 @@ void si_set_mutable_tex_desc_fields(struct r600_texture *tex,
uint32_t *state);
void si_get_pipe_constant_buffer(struct si_context *sctx, uint shader,
uint slot, struct pipe_constant_buffer *cbuf);
-void si_get_shader_buffers(struct si_context *sctx, uint shader,
+void si_get_shader_buffers(struct si_context *sctx,
+ enum pipe_shader_type shader,
uint start_slot, uint count,
struct pipe_shader_buffer *sbuf);
void si_set_ring_buffer(struct pipe_context *ctx, uint slot,