v3dv/image: fix TEXTURE_SHADER_STATE depth for cube arrays
authorAlejandro Piñeiro <apinheiro@igalia.com>
Wed, 1 Jul 2020 15:03:28 +0000 (17:03 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:31 +0000 (21:21 +0000)
commit336d9e187ce6a4dc6fd9cb8ed9f13b7800d24d1f
treec7b1cc585ab0b7dee822ab3dc5e209e56fcebbd3
parentcb1e492ee0b65c05bcc233236b5b3ce740b2abee
v3dv/image: fix TEXTURE_SHADER_STATE depth for cube arrays

For these we want to divide the number of layers by 6.

Fixes:
dEQP-VK.pipeline.image_view.view_type.cube_array.*
dEQP-VK.pipeline.image.suballocation.sampling_type.combined.view_type.cube_array.*

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6766>
src/broadcom/vulkan/v3dv_image.c