anv: Ignore VkRenderPassInputAttachementAspectCreateInfo
authorJason Ekstrand <jason.ekstrand@intel.com>
Tue, 12 Mar 2019 23:18:58 +0000 (18:18 -0500)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 13 Mar 2019 02:06:39 +0000 (21:06 -0500)
We don't care about the information but there's no sense in throwing a
debug warning about it.  It's harmless but annoying to users.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=109984
Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
src/intel/vulkan/anv_pass.c

index 02f2be60e0299849e0d7364ccb705ba2c9aa4c74..5fac5bbb31c869187a6465bad199dbd758e27ee9 100644 (file)
@@ -332,6 +332,10 @@ VkResult anv_CreateRenderPass(
 
    vk_foreach_struct(ext, pCreateInfo->pNext) {
       switch (ext->sType) {
+      case VK_STRUCTURE_TYPE_RENDER_PASS_INPUT_ATTACHMENT_ASPECT_CREATE_INFO:
+         /* We don't care about this information */
+         break;
+
       case VK_STRUCTURE_TYPE_RENDER_PASS_MULTIVIEW_CREATE_INFO: {
          VkRenderPassMultiviewCreateInfo *mv = (void *)ext;