mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-03-25 00:20:34 +01:00
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:
parent
744cedf3a1
commit
c8499885cb
1 changed files with 1 additions and 1 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue