mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
radeonsi/gfx10: don't use NGG culling if compute-based culling is used
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4269>
This commit is contained in:
parent
65e9239977
commit
ee4d797d8b
1 changed files with 1 additions and 0 deletions
|
|
@ -2040,6 +2040,7 @@ static void si_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *i
|
|||
|
||||
/* Update NGG culling settings. */
|
||||
if (sctx->ngg &&
|
||||
!dispatch_prim_discard_cs &&
|
||||
rast_prim == PIPE_PRIM_TRIANGLES &&
|
||||
(sctx->screen->always_use_ngg_culling ||
|
||||
/* At least 1024 non-indexed vertices (8 subgroups) are needed
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue