radeonsi: s/uint/enum pipe_shader_type/
authorBrian Paul <brianp@vmware.com>
Tue, 7 Mar 2017 02:05:00 +0000 (19:05 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 8 Mar 2017 15:50:20 +0000 (08:50 -0700)
This can probably be done in more places in the driver.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
src/gallium/drivers/radeonsi/si_descriptors.c
src/gallium/drivers/radeonsi/si_state.h

index f7cf6b7261416778fb131557c11c7a4c7552bb1c..10acb27a25ecc0feb850576e3a9736e4f97a8700 100644 (file)
@@ -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)
 {
index f572d2f745c844285964b1c8b90d031b455f7df3..88827a8919da9f2091b239403cb15f35b86e8813 100644 (file)
@@ -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,