nouveau/nv50: disable GLSL IR loop unrolling
authorTimothy Arceri <tarceri@itsqueeze.com>
Fri, 6 May 2022 01:50:42 +0000 (11:50 +1000)
committerMarge Bot <emma+marge@anholt.net>
Sat, 4 Jun 2022 16:11:49 +0000 (16:11 +0000)
commite5181c2e238e9616c8d23ba67113d5e45e309a4b
tree3cca5a9cb7f7102547574cad546ec03060c00816
parentfa3b6a3d3217722a0411e985f860e165ba85369a
nouveau/nv50: disable GLSL IR loop unrolling

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

Shader-db results (nv92):

total gpr in shared programs: 734638 -> 735037 (0.05%)
gpr in affected programs: 11058 -> 11457 (3.61%)
total instructions in shared programs: 6073415 -> 6073398 (<.01%)
instructions in affected programs: 10079 -> 10062 (-0.17%)
total bytes in shared programs: 41837432 -> 41838872 (<.01%)
bytes in affected programs: 252504 -> 253944 (0.57%)

Reviewed-by: Emma Anholt <emma@anholt.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16366>
src/gallium/drivers/nouveau/nv50/nv50_screen.c
src/gallium/drivers/nouveau/nvc0/nvc0_screen.c
src/nouveau/codegen/nv50_ir_driver.h
src/nouveau/codegen/nv50_ir_from_nir.cpp