diff options
author | Marek Olšák <[email protected]> | 2018-08-15 21:39:52 -0400 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2019-05-16 13:06:53 -0400 |
commit | 6e38af063169258b99b7609953138ce81f4d5f98 (patch) | |
tree | 3880c0f8b8ab0c778dfd95310ff5079163f7815a /src/gallium/drivers/radeonsi/si_descriptors.c | |
parent | 49a016ec5d77e8401556bbd8cad386457537eb30 (diff) |
radeonsi: move si_*_descriptors_idx functions into si_state.h
Tested-by: Dieter Nützel <[email protected]>
Acked-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/si_descriptors.c')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_descriptors.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/src/gallium/drivers/radeonsi/si_descriptors.c b/src/gallium/drivers/radeonsi/si_descriptors.c index 5b812149754..9daf36f6c40 100644 --- a/src/gallium/drivers/radeonsi/si_descriptors.c +++ b/src/gallium/drivers/radeonsi/si_descriptors.c @@ -220,13 +220,6 @@ si_get_sampler_view_priority(struct si_resource *res) return RADEON_PRIO_SAMPLER_TEXTURE; } -static unsigned -si_sampler_and_image_descriptors_idx(unsigned shader) -{ - return SI_DESCS_FIRST_SHADER + shader * SI_NUM_SHADER_DESCS + - SI_SHADER_DESCS_SAMPLERS_AND_IMAGES; -} - static struct si_descriptors * si_sampler_and_image_descriptors(struct si_context *sctx, unsigned shader) { @@ -1175,13 +1168,6 @@ bool si_upload_vertex_buffer_descriptors(struct si_context *sctx) /* CONSTANT BUFFERS */ -static unsigned -si_const_and_shader_buffer_descriptors_idx(unsigned shader) -{ - return SI_DESCS_FIRST_SHADER + shader * SI_NUM_SHADER_DESCS + - SI_SHADER_DESCS_CONST_AND_SHADER_BUFFERS; -} - static struct si_descriptors * si_const_and_shader_buffer_descriptors(struct si_context *sctx, unsigned shader) { |