radeonsi: make si_init_shader_selector_async static

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Nicolai Hähnle 2017-08-27 00:43:13 +02:00
parent 7e4344151f
commit 48b3364b5b
2 changed files with 1 additions and 2 deletions

View File

@ -382,7 +382,6 @@ bool si_update_shaders(struct si_context *sctx);
void si_init_shader_functions(struct si_context *sctx); void si_init_shader_functions(struct si_context *sctx);
bool si_init_shader_cache(struct si_screen *sscreen); bool si_init_shader_cache(struct si_screen *sscreen);
void si_destroy_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, void si_get_active_slot_masks(const struct tgsi_shader_info *info,
uint32_t *const_and_shader_buffers, uint32_t *const_and_shader_buffers,
uint64_t *samplers_and_images); uint64_t *samplers_and_images);

View File

@ -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, * si_shader_selector initialization. Since it can be done asynchronously,
* there is no way to report compile failures to applications. * 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_shader_selector *sel = (struct si_shader_selector *)job;
struct si_screen *sscreen = sel->screen; struct si_screen *sscreen = sel->screen;