From 7532ed106fd574acf63862db01bfa290b63f9f91 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sun, 5 Mar 2017 12:28:51 -0700 Subject: etnaviv: s/unsigned/enum pipe_shader_type/ Reviewed-by: Edward O'Callaghan --- src/gallium/drivers/etnaviv/etnaviv_texture.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gallium/drivers/etnaviv') 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) { -- cgit v1.2.3