[Mesa-dev] [PATCH] anv: Ignore VkRenderPassInputAttachementAspectCreateInfo

Sagar Ghuge sagar.ghuge at intel.com
Tue Mar 12 23:35:34 UTC 2019


Reviewed-by: Sagar Ghuge <sagar.ghuge at intel.com>

On 3/12/19 4:21 PM, Jason Ekstrand wrote:
> 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
> Cc: Craig Stout <cstout at google.com>
> ---
>  src/intel/vulkan/anv_pass.c | 4 ++++
>  1 file changed, 4 insertions(+)
> 
> 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;
>  
> 


More information about the mesa-dev mailing list