anv: take depth in to account in anv_GetImageSubresourceLayout
authorTapani Pälli <tapani.palli@intel.com>
Thu, 20 Aug 2020 09:49:46 +0000 (12:49 +0300)
committerMarge Bot <eric+marge@anholt.net>
Fri, 21 Aug 2020 05:57:12 +0000 (05:57 +0000)
commit89b56f19412e4794ec2ecfc1578fbfdb9e183bea
tree85095c50d2361ca86cab15b8062d9858ea7a2006
parent3dd1a81aa0e5389659826d9ab6327e3091a24552
anv: take depth in to account in anv_GetImageSubresourceLayout

Fixes dEQP-VK.image.subresource_layout.3d* tests on gen9.

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6400>
src/intel/vulkan/anv_image.c