projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c272bb5
)
vk/image: Remove stale anv_asserts for depthstencil attachments
author
Chad Versace
<chad.versace@intel.com>
Wed, 7 Oct 2015 01:18:47 +0000
(18:18 -0700)
committer
Chad Versace
<chad.versace@intel.com>
Wed, 7 Oct 2015 04:22:18 +0000
(21:22 -0700)
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
patch
|
blob
|
history
diff --git
a/src/vulkan/anv_image.c
b/src/vulkan/anv_image.c
index f0620e4d67edce7de2c484549fa299d601181c13..29a442daa43b56e7ee037b4eefa0a912bb3fca3c 100644
(file)
--- 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);