From: Jason Ekstrand Date: Wed, 20 Jan 2016 15:33:41 +0000 (-0800) Subject: anv/meta: Fix a finishme X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a0516cfbace8c7d30d01fe6e6c76c2414187c21a;p=mesa.git anv/meta: Fix a finishme --- 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;