7451bc3bef
Storage access to images using LEA_TEX[_IMM] has limitations on some fields in the texture descriptors, making them incompatible with the descriptors required for texture access, specifically in the case non-zero levels. This change sets up two sets of texture descriptors for image views of storage images, then picks the correct one when writing the image view descriptors. Backport-to: 25.0 Backport-to: 25.1 Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com> Tested-by: Heiko Stuebner <heiko@sntech.de> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/34839>