summaryrefslogtreecommitdiffstats
path: root/src/vulkan
diff options
context:
space:
mode:
authorChad Versace <[email protected]>2015-10-06 18:18:47 -0700
committerChad Versace <[email protected]>2015-10-06 21:22:18 -0700
commitd00718104f956783291fbfc28f9d0a2e9bee4003 (patch)
tree876624343450b79322a5bcdcfb02d8b0768ffc23 /src/vulkan
parentc272bb58f5cded827b8a4c94a419504f8ff4cc9e (diff)
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.
Diffstat (limited to 'src/vulkan')
-rw-r--r--src/vulkan/anv_image.c5
1 files changed, 0 insertions, 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);