radeonsi/gfx11: fix ge_cntl programming
authorPierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Fri, 13 Jan 2023 15:13:46 +0000 (16:13 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 25 Jan 2023 08:09:13 +0000 (08:09 +0000)
commitf73cdda983e72b57dc8769ec9f234dddcafd2491
treecfe7fb74e99e20200a4eec7492286b842804b2f0
parent014a0bf0b6015f45244bfdb57d697698a6bf1317
radeonsi/gfx11: fix ge_cntl programming

gfx11 renamed PRIM_GRP_SIZE to VERTS_PER_SUBGRP but another change was
was missed.

Update our code based on PAL's UniversalCmdBuffer::CalcGeCntl function
(especially useVgtOnchipCntlForTess being false for gfx11).

Fixes: 25a66477d02 ("radeonsi/gfx11: register changes")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20728>
src/gallium/drivers/radeonsi/si_state_draw.cpp