From a0927da006ebd00da3fb3e613d399a0b97f081bb Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Mon, 6 Mar 2017 19:05:00 -0700 Subject: [PATCH] radeonsi: s/uint/enum pipe_shader_type/ This can probably be done in more places in the driver. Reviewed-by: Edward O'Callaghan --- src/gallium/drivers/radeonsi/si_descriptors.c | 3 ++- src/gallium/drivers/radeonsi/si_state.h | 3 ++- 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, -- 2.30.2