mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-21 22:40:35 +01:00
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:
parent
79e33b8b40
commit
eeb384193c
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue