[Mesa-dev] [PATCH 04/14] etnaviv: s/unsigned/enum pipe_shader_type/
Brian Paul
brianp at vmware.com
Tue Mar 7 02:08:07 UTC 2017
---
src/gallium/drivers/etnaviv/etnaviv_texture.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/gallium/drivers/etnaviv/etnaviv_texture.c b/src/gallium/drivers/etnaviv/etnaviv_texture.c
index 1d32c12..93b077b 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)
{
--
1.9.1
More information about the mesa-dev
mailing list