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/include | |
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/include')
-rw-r--r-- | src/gallium/include/pipe/p_context.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/include/pipe/p_context.h b/src/gallium/include/pipe/p_context.h index 9c9a126ad01..b74679d1f82 100644 --- a/src/gallium/include/pipe/p_context.h +++ b/src/gallium/include/pipe/p_context.h @@ -285,7 +285,8 @@ struct pipe_context { unsigned num_viewports, const struct pipe_viewport_state *); - void (*set_sampler_views)(struct pipe_context *, unsigned shader, + void (*set_sampler_views)(struct pipe_context *, + enum pipe_shader_type shader, unsigned start_slot, unsigned num_views, struct pipe_sampler_view **); |