pan/bi: Use nir_lower_image_atomics_to_global
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 19 May 2023 02:44:18 +0000 (22:44 -0400)
committerMarge Bot <emma+marge@anholt.net>
Mon, 22 May 2023 14:33:14 +0000 (14:33 +0000)
commit47f5cc6ba79847ec5a7a36dbc80aac38789cc075
tree96da380d44cd7407bc83bb22e6964a8e08e4bf18
parent1ff7ec0c9e327312b144b4c8b3a12f65c30ab148
pan/bi: Use nir_lower_image_atomics_to_global

We were already lowering image atomics to lea_attr_tex + global atomic, might as
well make that lowering explicit in the NIR.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23120>
src/panfrost/compiler/bi_lower_divergent_indirects.c
src/panfrost/compiler/bifrost_compile.c