From 532db3b7881f3dfcd299320cbf44443d06b88373 Mon Sep 17 00:00:00 2001 From: Kai Wasserbäch Date: Sat, 27 Aug 2016 04:08:00 -0600 Subject: gallium: Use enum pipe_shader_type in set_sampler_views() MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Kai Wasserbäch Reviewed-by: Brian Paul --- src/gallium/drivers/swr/swr_state.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/swr/swr_state.cpp') diff --git a/src/gallium/drivers/swr/swr_state.cpp b/src/gallium/drivers/swr/swr_state.cpp index f9d8ea84ee3..7d49ce7b896 100644 --- a/src/gallium/drivers/swr/swr_state.cpp +++ b/src/gallium/drivers/swr/swr_state.cpp @@ -282,7 +282,7 @@ swr_create_sampler_view(struct pipe_context *pipe, static void swr_set_sampler_views(struct pipe_context *pipe, - unsigned shader, + enum pipe_shader_type shader, unsigned start, unsigned num, struct pipe_sampler_view **views) -- cgit v1.2.3