radeonsi: make si_get_small_prim_cull_info static

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13700>
This commit is contained in:
Marek Olšák 2021-11-06 14:08:39 -04:00 committed by Marge Bot
parent 963b7475a9
commit 3338956268
2 changed files with 1 additions and 2 deletions

View file

@ -1551,7 +1551,6 @@ struct pipe_video_buffer *si_video_buffer_create_with_modifiers(struct pipe_cont
unsigned int modifiers_count);
/* si_viewport.c */
void si_get_small_prim_cull_info(struct si_context *sctx, struct si_small_prim_cull_info *out);
void si_update_vs_viewport_state(struct si_context *ctx);
void si_init_viewport_functions(struct si_context *ctx);

View file

@ -28,7 +28,7 @@
#define SI_MAX_SCISSOR 16384
void si_get_small_prim_cull_info(struct si_context *sctx, struct si_small_prim_cull_info *out)
static void si_get_small_prim_cull_info(struct si_context *sctx, struct si_small_prim_cull_info *out)
{
/* This is needed by the small primitive culling, because it's done
* in screen space.