r300: reduce number of iterations for vertex shader loops
authorPavel Ondračka <pavel.ondracka@gmail.com>
Sun, 22 Jan 2023 15:45:00 +0000 (16:45 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 11 Sep 2023 19:30:52 +0000 (19:30 +0000)
commit38694b73865956e8d22f47f259e5d0bb70f28245
treef7e90a3ac98ef8ec77adeb3f3bb9fc321119637b
parentccd3bb45483b25330f435d7e041a69237edc9631
r300: reduce number of iterations for vertex shader loops

Using the default value leads to occasional hangs on RV516 for unknown
reasons. Set it to 128 insted of 255.

dEQP and piglit are still happy and I don't expect any real app to hit
this, but lets see. As a side effect this boosts fps in the apps that
have non-unrollable vertex shaders (as the shaders now effectivelly run
almost two times faster) and ~5% dEQP runtime decrease.

Reviewed-by: Filip Gawin <filip.gawin@collabora.com>
Signed-off-by: Pavel Ondračka <pavel.ondracka@gmail.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/7934
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20873>
src/gallium/drivers/r300/compiler/r3xx_vertprog.c