asahi: Set layout->mipmapped_z for 3D textures
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Fri, 3 Feb 2023 23:42:29 +0000 (18:42 -0500)
committerMarge Bot <emma+marge@anholt.net>
Sat, 4 Feb 2023 07:04:49 +0000 (07:04 +0000)
commit79a7c6e3bd1a529238663f6da456e99bc2b2370e
tree955cbb2147b4420af0cdea4e2dab599b22c881e9
parent9b2dc9222822371f377e9d63f4088307c0eaf413
asahi: Set layout->mipmapped_z for 3D textures

There's a corner case where 3D textures have extra padding compared to 2D
arrays. We need to communicate that to ail.

Fixes
dEQP-GLES3.functional.texture.specification.texstorage3d.size.3d_32x16x64_4_levels.
That test now uses the same layout as Metal.

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