From: Chad Versace Date: Wed, 7 Oct 2015 01:18:47 +0000 (-0700) Subject: vk/image: Remove stale anv_asserts for depthstencil attachments X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d00718104f956783291fbfc28f9d0a2e9bee4003;p=mesa.git 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. --- 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);