radv: use radv_physical_device_cache_key::use_ngg_culling more

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40375>
This commit is contained in:
Samuel Pitoiset 2026-03-12 12:50:27 +01:00 committed by Marge Bot
parent 744cedf3a1
commit c8499885cb

View file

@ -885,7 +885,7 @@ radv_consider_culling(const struct radv_physical_device *pdev, struct nir_shader
if (info->vs.has_prolog)
return false;
if (!pdev->use_ngg_culling)
if (!pdev->cache_key.use_ngg_culling)
return false;
/* Shader based culling efficiency can depend on PS throughput.