diff options
author | Kai Wasserbäch <[email protected]> | 2016-08-27 04:08:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-08-29 09:07:25 -0600 |
commit | 532db3b7881f3dfcd299320cbf44443d06b88373 (patch) | |
tree | 3d7099d986e4efbc4579e35d6139080f8f5ad0d2 /src/gallium/auxiliary/draw/draw_context.c | |
parent | 7413625ad357c87f409cd1673b40f8dffbc43259 (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/auxiliary/draw/draw_context.c')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_context.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_context.c b/src/gallium/auxiliary/draw/draw_context.c index 6305761f2db..56abcff5a24 100644 --- a/src/gallium/auxiliary/draw/draw_context.c +++ b/src/gallium/auxiliary/draw/draw_context.c @@ -964,7 +964,7 @@ draw_set_mapped_so_targets(struct draw_context *draw, void draw_set_sampler_views(struct draw_context *draw, - unsigned shader_stage, + enum pipe_shader_type shader_stage, struct pipe_sampler_view **views, unsigned num) { @@ -985,7 +985,7 @@ draw_set_sampler_views(struct draw_context *draw, void draw_set_samplers(struct draw_context *draw, - unsigned shader_stage, + enum pipe_shader_type shader_stage, struct pipe_sampler_state **samplers, unsigned num) { |