mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
radv: Reduce NGG culling small draw threshold to 128.
Many modern games use draw calls with only a few vertices. Signed-off-by: Timur Kristóf <timur.kristof@gmail.com> Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12859>
This commit is contained in:
parent
7ae5a93b7f
commit
df653977bd
1 changed files with 1 additions and 1 deletions
|
|
@ -5727,7 +5727,7 @@ radv_skip_ngg_culling(bool has_tess, const unsigned vtx_cnt,
|
|||
* When tessellation is used, what matters is the number of tessellated
|
||||
* vertices, so let's always assume it's not a small draw.
|
||||
*/
|
||||
return !has_tess && !indirect && vtx_cnt < 512;
|
||||
return !has_tess && !indirect && vtx_cnt < 128;
|
||||
}
|
||||
|
||||
ALWAYS_INLINE static uint32_t
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue