freedreno/ir3: Move i/o offset lowering after analyze_ubo_ranges.
authorEric Anholt <eric@anholt.net>
Fri, 1 May 2020 23:00:17 +0000 (16:00 -0700)
committerMarge Bot <eric+marge@anholt.net>
Thu, 14 May 2020 00:10:43 +0000 (00:10 +0000)
commitd5176c453e5fd74f6999d09e551bcbc771845e8f
treeb65873dc5433f750f24cc9a6fa6e9f72f496a3f9
parent5387c271409dbfb12292feec2dcd61399bbb1a99
freedreno/ir3: Move i/o offset lowering after analyze_ubo_ranges.

I found that when moving more UBOs to load_ubo_ir3, analyze_ubo_ranges
would move things back in a broken way.  We can just run this pass later
and drop the _ir3 path.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4858>
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir_analyze_ubo_ranges.c