v3dv: fix copies and clears of 3D images
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 16 Mar 2020 09:56:36 +0000 (10:56 +0100)
committerMarge Bot <eric+marge@anholt.net>
Tue, 13 Oct 2020 21:21:28 +0000 (21:21 +0000)
commit03048b26130b949ad41def7d252e8f25df96971e
treedbaa644d1616c2f7c8a3bf3d060a1fe2cd03766d
parent2721c5569862cd507a125708dce10b4e47ad8b1d
v3dv: fix copies and clears of 3D images

3D images have a single layer and we should instead consider their depth.

Fixes some tests in:
dEQP-VK.synchronization.op.*

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