diff options
author | Nicolai Hähnle <[email protected]> | 2017-08-27 00:43:13 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-09-13 18:24:18 +0200 |
commit | 48b3364b5bf830d85600ac0b711529cacf68b0f7 (patch) | |
tree | a3c8b68a107e8a7f7e19577de60cf9d01e4757db /src/gallium | |
parent | 7e4344151f7c5ddcc04d6f58d236f3bab6493cdf (diff) |
radeonsi: make si_init_shader_selector_async static
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state.h | 1 | ||||
-rw-r--r-- | src/gallium/drivers/radeonsi/si_state_shaders.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/radeonsi/si_state.h b/src/gallium/drivers/radeonsi/si_state.h index 17d210a3af2..672229c15d9 100644 --- a/src/gallium/drivers/radeonsi/si_state.h +++ b/src/gallium/drivers/radeonsi/si_state.h @@ -382,7 +382,6 @@ bool si_update_shaders(struct si_context *sctx); void si_init_shader_functions(struct si_context *sctx); bool si_init_shader_cache(struct si_screen *sscreen); void si_destroy_shader_cache(struct si_screen *sscreen); -void si_init_shader_selector_async(void *job, int thread_index); void si_get_active_slot_masks(const struct tgsi_shader_info *info, uint32_t *const_and_shader_buffers, uint64_t *samplers_and_images); diff --git a/src/gallium/drivers/radeonsi/si_state_shaders.c b/src/gallium/drivers/radeonsi/si_state_shaders.c index 6398111e5a6..ac8b65e398c 100644 --- a/src/gallium/drivers/radeonsi/si_state_shaders.c +++ b/src/gallium/drivers/radeonsi/si_state_shaders.c @@ -1786,7 +1786,7 @@ static void si_parse_next_shader_property(const struct tgsi_shader_info *info, * si_shader_selector initialization. Since it can be done asynchronously, * there is no way to report compile failures to applications. */ -void si_init_shader_selector_async(void *job, int thread_index) +static void si_init_shader_selector_async(void *job, int thread_index) { struct si_shader_selector *sel = (struct si_shader_selector *)job; struct si_screen *sscreen = sel->screen; |