From: Jason Ekstrand Date: Tue, 12 Mar 2019 23:18:58 +0000 (-0500) Subject: anv: Ignore VkRenderPassInputAttachementAspectCreateInfo X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c056609c439da964db8344a8fde66aec4bd9c877;p=mesa.git anv: Ignore VkRenderPassInputAttachementAspectCreateInfo 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 --- diff --git a/src/intel/vulkan/anv_pass.c b/src/intel/vulkan/anv_pass.c index 02f2be60e02..5fac5bbb31c 100644 --- a/src/intel/vulkan/anv_pass.c +++ b/src/intel/vulkan/anv_pass.c @@ -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;