nir: add indirect loop unrolling to compiler options
authorTimothy Arceri <tarceri@itsqueeze.com>
Thu, 29 Jul 2021 09:34:26 +0000 (19:34 +1000)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Aug 2021 10:54:50 +0000 (10:54 +0000)
commita9ed4538abf1247b82adce5cfff9f2bde0b76a05
tree631dadcb9465f920d73f59e23be67e9635e87048
parenta654e39f1559edc06eb12bdd6f2372694dcd8911
nir: add indirect loop unrolling to compiler options

This is where it should be rather than having to pass it into the
optimisation pass every time.

It also allows us to call the loop analysis pass without having to
duplicate these options which we will do later in this series.

Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12064>
24 files changed:
src/amd/vulkan/radv_shader.c
src/asahi/compiler/agx_compile.c
src/asahi/compiler/agx_compile.h
src/broadcom/compiler/nir_to_vir.c
src/broadcom/vulkan/v3dv_pipeline.c
src/compiler/nir/nir.h
src/compiler/nir/nir_opt_loop_unroll.c
src/freedreno/ir3/ir3_nir.c
src/gallium/auxiliary/nir/nir_to_tgsi.c
src/gallium/auxiliary/nir/tgsi_to_nir.c
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c
src/gallium/drivers/etnaviv/etnaviv_screen.c
src/gallium/drivers/freedreno/a2xx/ir2_nir.c
src/gallium/drivers/lima/lima_program.c
src/gallium/drivers/radeonsi/si_shader_nir.c
src/gallium/drivers/vc4/vc4_program.c
src/intel/compiler/brw_compiler.c
src/intel/compiler/brw_nir.c
src/intel/compiler/brw_shader.h
src/mesa/state_tracker/st_glsl_to_nir.cpp
src/panfrost/bifrost/bifrost_compile.c
src/panfrost/bifrost/bifrost_compile.h
src/panfrost/midgard/midgard_compile.c
src/panfrost/midgard/midgard_compile.h