From a0516cfbace8c7d30d01fe6e6c76c2414187c21a Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Wed, 20 Jan 2016 07:33:41 -0800 Subject: [PATCH] anv/meta: Fix a finishme --- src/vulkan/anv_meta.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/vulkan/anv_meta.c b/src/vulkan/anv_meta.c index a58b6b421cf..3331d3abe08 100644 --- a/src/vulkan/anv_meta.c +++ b/src/vulkan/anv_meta.c @@ -1139,8 +1139,8 @@ void anv_CmdBlitImage( if (pRegions[r].srcSubresource.layerCount > 1) anv_finishme("FINISHME: copy multiple array layers"); - if (pRegions[r].srcOffsets[0].z != pRegions[r].srcOffsets[1].z || - pRegions[r].dstOffsets[0].z != pRegions[r].dstOffsets[1].z) + if (pRegions[r].srcOffsets[0].z + 1 != pRegions[r].srcOffsets[1].z || + pRegions[r].dstOffsets[0].z + 1 != pRegions[r].dstOffsets[1].z) anv_finishme("FINISHME: copy multiple depth layers"); struct anv_image_view dest_iview; -- 2.30.2