diff options
author | Brian Paul <[email protected]> | 2017-03-05 12:18:06 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-08 08:50:20 -0700 |
commit | b4191b712ba202dc7dc2358be3f9f0b1cccb2331 (patch) | |
tree | 9f5a17f2e294bff7c5f30b26aeccafc18fc270cf /src/gallium/auxiliary/draw/draw_context.c | |
parent | ed66c9d7b84db3de679170258acf2798339cb8dd (diff) |
draw: s/unsigned/enum pipe_shader_type/
and some s/uint/enum pipe_shader_type/
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 46dd0b4128f..8f1189a6bda 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -440,7 +440,7 @@ draw_set_mapped_vertex_buffer(struct draw_context *draw, void draw_set_mapped_constant_buffer(struct draw_context *draw, - unsigned shader_type, + enum pipe_shader_type shader_type, unsigned slot, const void *buffer, unsigned size ) @@ -720,7 +720,7 @@ draw_total_gs_outputs(const struct draw_context *draw) */ void draw_texture_sampler(struct draw_context *draw, - uint shader, + enum pipe_shader_type shader, struct tgsi_sampler *sampler) { if (shader == PIPE_SHADER_VERTEX) { @@ -738,7 +738,7 @@ draw_texture_sampler(struct draw_context *draw, */ void draw_image(struct draw_context *draw, - uint shader, + enum pipe_shader_type shader, struct tgsi_image *image) { if (shader == PIPE_SHADER_VERTEX) { @@ -756,7 +756,7 @@ draw_image(struct draw_context *draw, */ void draw_buffer(struct draw_context *draw, - uint shader, + enum pipe_shader_type shader, struct tgsi_buffer *buffer) { if (shader == PIPE_SHADER_VERTEX) { @@ -1011,7 +1011,7 @@ draw_set_samplers(struct draw_context *draw, void draw_set_mapped_texture(struct draw_context *draw, - unsigned shader_stage, + enum pipe_shader_type shader_stage, unsigned sview_idx, uint32_t width, uint32_t height, uint32_t depth, uint32_t first_level, uint32_t last_level, |