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/cso_cache | |
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/cso_cache')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.c | 2 | ||||
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.c b/src/gallium/auxiliary/cso_cache/cso_context.c index 6ffcce4dc6e..5e6b36e9b53 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.c +++ b/src/gallium/auxiliary/cso_cache/cso_context.c @@ -1284,7 +1284,7 @@ cso_restore_fragment_samplers(struct cso_context *ctx) void cso_set_sampler_views(struct cso_context *ctx, - unsigned shader_stage, + enum pipe_shader_type shader_stage, unsigned count, struct pipe_sampler_view **views) { diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index 5c9cb5a6327..27863f4a642 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -188,7 +188,7 @@ void cso_restore_state(struct cso_context *cso); void cso_set_sampler_views(struct cso_context *cso, - unsigned shader_stage, + enum pipe_shader_type shader_stage, unsigned count, struct pipe_sampler_view **views); |