From d00718104f956783291fbfc28f9d0a2e9bee4003 Mon Sep 17 00:00:00 2001 From: Chad Versace Date: Tue, 6 Oct 2015 18:18:47 -0700 Subject: [PATCH] vk/image: Remove stale anv_asserts for depthstencil attachments We don't fully handle mipmapped, array depthstencil attachments. But we handle the well enough for Crucible's miptree tests. --- src/vulkan/anv_image.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/vulkan/anv_image.c b/src/vulkan/anv_image.c index f0620e4d67e..29a442daa43 100644 --- a/src/vulkan/anv_image.c +++ b/src/vulkan/anv_image.c @@ -506,11 +506,6 @@ anv_depth_stencil_view_init(struct anv_image_view *iview, { ANV_FROM_HANDLE(anv_image, image, pCreateInfo->image); - /* XXX: We don't handle any of these */ - anv_assert(pCreateInfo->mipLevel == 0); - anv_assert(pCreateInfo->baseArraySlice == 0); - anv_assert(pCreateInfo->arraySize == 1); - iview->image = image; iview->format = anv_format_for_vk_format(pCreateInfo->format); -- 2.30.2