asahi: Extend PBE packing for image support
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 28 Jun 2023 19:43:22 +0000 (15:43 -0400)
committerMarge Bot <emma+marge@anholt.net>
Thu, 20 Jul 2023 15:33:28 +0000 (15:33 +0000)
commit2ebdd5fd1232e5caf4b63ebcf1f8625b650a2637
tree830bc3a60de66a4ef86c494b65be90eab0682d32
parenta77facd4599f5dbc530c3a769c9d2345885467d2
asahi: Extend PBE packing for image support

We need to support arrayed images and sRGB images, which are hardware. For
atomics, we need to pack the augmented software data structure. Finally, we need
to support buffer images. Like their texture counterparts, these get lowered to
2D images.

Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/24258>
src/gallium/drivers/asahi/agx_state.c