mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 16:30:50 +02:00
radeonsi: add a comment about early prim exports
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/35529>
This commit is contained in:
parent
ece9b47196
commit
ab8b5499bc
1 changed files with 2 additions and 0 deletions
|
|
@ -1109,6 +1109,8 @@ bool gfx10_ngg_export_prim_early(struct si_shader *shader)
|
|||
|
||||
return sel->stage != MESA_SHADER_GEOMETRY &&
|
||||
!gfx10_ngg_writes_user_edgeflags(shader) &&
|
||||
/* gfx10.x is sometimes slower with the late primitive export, so use the early prim
|
||||
* export by default. */
|
||||
sel->screen->info.gfx_level < GFX11;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue