radeonsi: make si_launch_grid_internal static

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17864>
This commit is contained in:
Marek Olšák 2022-07-18 20:52:45 -04:00 committed by Marge Bot
parent 233b4271dc
commit 2a854647c0
2 changed files with 2 additions and 4 deletions

View file

@ -104,8 +104,8 @@ static void si_improve_sync_flags(struct si_context *sctx, struct pipe_resource
}
}
void si_launch_grid_internal(struct si_context *sctx, struct pipe_grid_info *info,
void *shader, unsigned flags)
static void si_launch_grid_internal(struct si_context *sctx, const struct pipe_grid_info *info,
void *shader, unsigned flags)
{
/* Wait for previous shaders to finish. */
if (flags & SI_OP_SYNC_GE_BEFORE)

View file

@ -1404,8 +1404,6 @@ void si_init_clear_functions(struct si_context *sctx);
unsigned si_get_flush_flags(struct si_context *sctx, enum si_coherency coher,
enum si_cache_policy cache_policy);
void si_launch_grid_internal(struct si_context *sctx, struct pipe_grid_info *info,
void *shader, unsigned flags);
void si_launch_grid_internal_ssbos(struct si_context *sctx, struct pipe_grid_info *info,
void *shader, unsigned flags, enum si_coherency coher,
unsigned num_buffers, const struct pipe_shader_buffer *buffers,