summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2017-03-05 12:28:51 -0700
committerBrian Paul <[email protected]>2017-03-08 08:50:20 -0700
commit7532ed106fd574acf63862db01bfa290b63f9f91 (patch)
tree714296cc61e9d88133b70bc8d2d213684883974e /src/gallium
parentb4191b712ba202dc7dc2358be3f9f0b1cccb2331 (diff)
etnaviv: s/unsigned/enum pipe_shader_type/
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/etnaviv/etnaviv_texture.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/drivers/etnaviv/etnaviv_texture.c b/src/gallium/drivers/etnaviv/etnaviv_texture.c
index 1d32c12badd..93b077b5045 100644
--- a/src/gallium/drivers/etnaviv/etnaviv_texture.c
+++ b/src/gallium/drivers/etnaviv/etnaviv_texture.c
@@ -71,7 +71,7 @@ etna_create_sampler_state(struct pipe_context *pipe,
}
static void
-etna_bind_sampler_states(struct pipe_context *pctx, unsigned shader,
+etna_bind_sampler_states(struct pipe_context *pctx, enum pipe_shader_type shader,
unsigned start_slot, unsigned num_samplers,
void **samplers)
{
@@ -292,7 +292,7 @@ etna_vertex_set_sampler_views(struct etna_context *ctx, unsigned nr,
}
static void
-etna_set_sampler_views(struct pipe_context *pctx, unsigned shader,
+etna_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader,
unsigned start_slot, unsigned num_views,
struct pipe_sampler_view **views)
{