mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
radv: use better tessellation tunables on GFX9+
Based on PAL and RadeonSI. Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com> Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4144>
This commit is contained in:
parent
6d27022ce1
commit
22d3e047e5
1 changed files with 8 additions and 1 deletions
|
|
@ -420,7 +420,14 @@ si_emit_graphics(struct radv_physical_device *physical_device,
|
|||
S_030980_NUM_PC_LINES(128 * physical_device->rad_info.max_se - 1));
|
||||
}
|
||||
|
||||
if (physical_device->rad_info.chip_class >= GFX8) {
|
||||
if (physical_device->rad_info.chip_class >= GFX9) {
|
||||
radeon_set_context_reg(cs, R_028B50_VGT_TESS_DISTRIBUTION,
|
||||
S_028B50_ACCUM_ISOLINE(40) |
|
||||
S_028B50_ACCUM_TRI(30) |
|
||||
S_028B50_ACCUM_QUAD(24) |
|
||||
S_028B50_DONUT_SPLIT(24) |
|
||||
S_028B50_TRAP_SPLIT(6));
|
||||
} else if (physical_device->rad_info.chip_class >= GFX8) {
|
||||
uint32_t vgt_tess_distribution;
|
||||
|
||||
vgt_tess_distribution = S_028B50_ACCUM_ISOLINE(32) |
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue