aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/noop
diff options
context:
space:
mode:
authorKai Wasserbäch <[email protected]>2016-08-27 04:08:00 -0600
committerBrian Paul <[email protected]>2016-08-29 09:07:25 -0600
commit532db3b7881f3dfcd299320cbf44443d06b88373 (patch)
tree3d7099d986e4efbc4579e35d6139080f8f5ad0d2 /src/gallium/drivers/noop
parent7413625ad357c87f409cd1673b40f8dffbc43259 (diff)
gallium: Use enum pipe_shader_type in set_sampler_views()
Signed-off-by: Kai Wasserbäch <[email protected]> Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/drivers/noop')
-rw-r--r--src/gallium/drivers/noop/noop_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/noop/noop_state.c b/src/gallium/drivers/noop/noop_state.c
index ed964ddaf92..4f63e4d8959 100644
--- a/src/gallium/drivers/noop/noop_state.c
+++ b/src/gallium/drivers/noop/noop_state.c
@@ -124,7 +124,8 @@ static struct pipe_surface *noop_create_surface(struct pipe_context *ctx,
return surface;
}
-static void noop_set_sampler_views(struct pipe_context *ctx, unsigned shader,
+static void noop_set_sampler_views(struct pipe_context *ctx,
+ enum pipe_shader_type shader,
unsigned start, unsigned count,
struct pipe_sampler_view **views)
{