v3dv: fix textureSize() for cube arrays
authorIago Toral Quiroga <itoral@igalia.com>
Tue, 30 Jun 2020 08:44:43 +0000 (10:44 +0200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:31 +0000 (21:21 +0000)
commit6053e85ee4521b57a597b4f7ac4d3818e21a65a5
tree816e53b7432f41b96afd6f4544205c675cf28930
parentb6c2fde4b9c69df7c169e7f771f8c37b1857edd4
v3dv: fix textureSize() for cube arrays

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

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

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