ir3, tu: Run optimization loop twice
authorConnor Abbott <cwabbott0@gmail.com>
Mon, 6 Jul 2020 16:26:14 +0000 (18:26 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 29 Sep 2020 16:16:05 +0000 (16:16 +0000)
commit6982e8510b56991532533bf7da70344bdbb695b9
treea342597bd98f245cb62eec989f8c8e1d04ff32b7
parent41a5a2185827257820af37ee8752a839d6f2d519
ir3, tu: Run optimization loop twice

This call to ir3_optimize_nir() mirrors what st/mesa does for us in
Gallium, and will be necessary for cross-stage linking and the multiview
lowering.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6515>
src/freedreno/ir3/ir3_nir.c
src/freedreno/ir3/ir3_nir.h
src/freedreno/vulkan/tu_shader.c