turnip: divide cube map depth by 6
authorJonathan Marek <jonathan@marek.ca>
Thu, 23 Apr 2020 16:10:07 +0000 (12:10 -0400)
committerMarge Bot <eric+marge@anholt.net>
Fri, 24 Apr 2020 10:24:55 +0000 (10:24 +0000)
commite43fc003e0ed9ad5ba6e19a1132457233edba6eb
treef34528292fec80b19035cdf8c1dbcb9ce10243c7
parentbc5c43828970b49a9c6b2d08d9fb7f46a3300ae4
turnip: divide cube map depth by 6

This matches the GL driver and fixes these tests:

dEQP-VK.glsl.texture_functions.query.texturesize.samplercubearray*

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4709>
src/freedreno/vulkan/tu_image.c