nouveau/nv30: disable GLSL IR loop unrolling
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 6 May 2022 01:47:11 +0000 (11:47 +1000)
committerMarge Bot <emma+marge@anholt.net>
Sat, 4 Jun 2022 16:11:49 +0000 (16:11 +0000)
commitfa3b6a3d3217722a0411e985f860e165ba85369a
treed0d65d691544b86b54bdb0a02f93ea19649db3ca
parentbb2f97eb272a68fce582cebf78c53987024356af
nouveau/nv30: disable GLSL IR loop unrolling

NIR loop unrolling is already enabled so just let it do its job.

Shader-db results (nv40):

total instructions in shared programs: 17446532 -> 17446068 (<.01%)
instructions in affected programs: 15532 -> 15068 (-2.99%)
total gpr in shared programs: 82658 -> 82801 (0.17%)
gpr in affected programs: 1680 -> 1823 (8.51%)

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16366>
src/gallium/drivers/nouveau/nv30/nv30_screen.c