diff options
author | Bas Nieuwenhuizen <[email protected]> | 2016-03-19 13:56:29 +0100 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2016-04-19 18:10:31 +0200 |
commit | e764ee13ae21e3c1dbda24daeb2d08c5e7c81871 (patch) | |
tree | 091fdf5c1b7aeac9715ddb9ecf8fb556561723a1 /src/gallium/drivers/radeonsi/si_state.h | |
parent | 061ce9399a08f3edd4f5af16afd36bb14d58c864 (diff) |
radeonsi: split setting graphics and compute descriptors
Signed-off-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Marek Olšák <[email protected]>
Reviewed-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_state.h')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index edc03fbc027..3679532a86c 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -257,14 +257,17 @@ void si_set_ring_buffer(struct pipe_context *ctx, uint shader, uint slot, bool add_tid, bool swizzle, unsigned element_size, unsigned index_stride, uint64_t offset); void si_init_all_descriptors(struct si_context *sctx); -bool si_upload_shader_descriptors(struct si_context *sctx); +bool si_upload_graphics_shader_descriptors(struct si_context *sctx); +bool si_upload_compute_shader_descriptors(struct si_context *sctx); void si_release_all_descriptors(struct si_context *sctx); void si_all_descriptors_begin_new_cs(struct si_context *sctx); void si_upload_const_buffer(struct si_context *sctx, struct r600_resource **rbuffer, const uint8_t *ptr, unsigned size, uint32_t *const_offset); void si_shader_change_notify(struct si_context *sctx); void si_update_compressed_colortex_masks(struct si_context *sctx); -void si_emit_shader_userdata(struct si_context *sctx, struct r600_atom *atom); +void si_emit_graphics_shader_userdata(struct si_context *sctx, + struct r600_atom *atom); +void si_emit_compute_shader_userdata(struct si_context *sctx); /* si_state.c */ struct si_shader_selector; |