diff options
author | Brian Paul <[email protected]> | 2017-03-05 12:16:39 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-03-08 08:50:20 -0700 |
commit | ed66c9d7b84db3de679170258acf2798339cb8dd (patch) | |
tree | 5e5156a8cdee5bdbf4820d484917f1ff21746007 /src/gallium/auxiliary/cso_cache/cso_context.h | |
parent | 637e5719b5dacbf96cc902deecb187be52495a3e (diff) |
cso: s/unsigned/enum pipe_shader_type/
Reviewed-by: Edward O'Callaghan <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/cso_cache/cso_context.h')
-rw-r--r-- | src/gallium/auxiliary/cso_cache/cso_context.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/gallium/auxiliary/cso_cache/cso_context.h b/src/gallium/auxiliary/cso_cache/cso_context.h index 2a65354a7f4..56b1f827577 100644 --- a/src/gallium/auxiliary/cso_cache/cso_context.h +++ b/src/gallium/auxiliary/cso_cache/cso_context.h @@ -70,7 +70,7 @@ cso_set_samplers(struct cso_context *cso, * samplers one at a time: */ enum pipe_error -cso_single_sampler(struct cso_context *cso, unsigned shader_stage, +cso_single_sampler(struct cso_context *cso, enum pipe_shader_type shader_stage, unsigned idx, const struct pipe_sampler_state *states); void @@ -205,16 +205,17 @@ cso_set_shader_images(struct cso_context *cso, /* constant buffers */ -void cso_set_constant_buffer(struct cso_context *cso, unsigned shader_stage, +void cso_set_constant_buffer(struct cso_context *cso, + enum pipe_shader_type shader_stage, unsigned index, struct pipe_constant_buffer *cb); void cso_set_constant_buffer_resource(struct cso_context *cso, - unsigned shader_stage, + enum pipe_shader_type shader_stage, unsigned index, struct pipe_resource *buffer); void cso_save_constant_buffer_slot0(struct cso_context *cso, - unsigned shader_stage); + enum pipe_shader_type shader_stage); void cso_restore_constant_buffer_slot0(struct cso_context *cso, - unsigned shader_stage); + enum pipe_shader_type shader_stage); /* drawing */ |