pan/lower_framebuffer: Use nir_shader_instructions_pass
authorAlyssa Rosenzweig <alyssa@collabora.com>
Mon, 6 Feb 2023 16:37:13 +0000 (11:37 -0500)
committerMarge Bot <emma+marge@anholt.net>
Thu, 23 Mar 2023 23:53:46 +0000 (23:53 +0000)
commitbccd6d3880b8dddef48f06e89f4d06f0d99d7bff
treee1bd29a1fda5391145e6b41abf52139f3b88cc96
parent8059eb15775d44e995956678b7e38884be03b353
pan/lower_framebuffer: Use nir_shader_instructions_pass

Removes a lot of indentation, and improves metadata handling.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20906>
src/panfrost/util/pan_lower_framebuffer.c