turnip: Fix image size for 3D vkGetImageSubresourceLayout.
authorEric Anholt <eric@anholt.net>
Thu, 5 Nov 2020 23:50:13 +0000 (15:50 -0800)
committerEric Anholt <eric@anholt.net>
Fri, 6 Nov 2020 18:04:43 +0000 (10:04 -0800)
commit9f1cd99ba12de7605116ebe0a056c9f501024222
treef5535cfa88f271b80474cb511543fa0d456fc34c
parenta0b42da0a2e5a43d8e88605f3678034ad1a2e8a2
turnip: Fix image size for 3D vkGetImageSubresourceLayout.

Fixes most subcases of dEQP-VK.image.subresource_layout.3d.* The remaining
failures appear to be in snorm, which 2D also fails on (and the blob
reports as not supported for this test).

We don't currently have these tests in CI, but they'll appear with
1.2.4.0.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7467>
src/freedreno/vulkan/tu_image.c