freedreno/a5xx: Skip emitting unused texture descriptors for images.
authorEmma Anholt <emma@anholt.net>
Thu, 27 Jul 2023 23:24:26 +0000 (16:24 -0700)
committerMarge Bot <emma+marge@anholt.net>
Tue, 8 Aug 2023 18:51:58 +0000 (18:51 +0000)
commita297624182218b24d5accb975101448b0bf97077
tree85e85425205b4b3f877b0c29a58f9699cbc2315a
parent59e9909cc1631d8d47cb8e37db4494b8138503c0
freedreno/a5xx: Skip emitting unused texture descriptors for images.

In that case, we'd emit it to DST_OFF=255+i, angering the hardware
mightily.  This was missed in the addition of a6xx image support.

Fixes: 2e0ea3f09c79 ("freedreno/ir3: add image/ssbo <-> ibo/tex mapping")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24358>
src/freedreno/ci/freedreno-a530-fails.txt
src/freedreno/ci/freedreno-a530-flakes.txt
src/gallium/drivers/freedreno/a5xx/fd5_image.c