From: Brian Paul Date: Tue, 7 Mar 2017 02:05:00 +0000 (-0700) Subject: radeonsi: s/uint/enum pipe_shader_type/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0927da006ebd00da3fb3e613d399a0b97f081bb;p=mesa.git radeonsi: s/uint/enum pipe_shader_type/ This can probably be done in more places in the driver. Reviewed-by: Edward O'Callaghan --- 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,