agx: Clear image_array after lowering
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 16 Aug 2023 19:36:32 +0000 (15:36 -0400)
committerMarge Bot <emma+marge@anholt.net>
Wed, 23 Aug 2023 15:06:55 +0000 (15:06 +0000)
commit8ae3eebba4e7cb20dae60db42d75ec3107edccfb
tree91ff3b32a71270ef2201be833daec57ffbfc4048
parentc8ea02a8836a3ff26cc5bf54d7447bb0b130df90
agx: Clear image_array after lowering

We lower to access to a non-array 2D image, so we need to update the image_array
flag when we lower or otherwise we get an incorrect 2D Array store to a 2D image
which the hardware doesn't want.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24847>
src/asahi/compiler/agx_nir_lower_texture.c