radeonsi: always inline si_prefetch_shaders

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24732>
This commit is contained in:
Marek Olšák 2023-07-16 06:42:00 -04:00 committed by Marge Bot
parent 79e33b8b40
commit eeb384193c

View file

@ -522,6 +522,7 @@ static void si_prefetch_shader_async(struct si_context *sctx, struct si_shader *
* Prefetch shaders.
*/
template<amd_gfx_level GFX_VERSION, si_has_tess HAS_TESS, si_has_gs HAS_GS, si_has_ngg NGG>
ALWAYS_INLINE
static void si_prefetch_shaders(struct si_context *sctx)
{
unsigned mask = sctx->prefetch_L2_mask;