03048b2613
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>