From 3b110efccb674bddb314349f5b1ce3ff09f34186 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Mon, 23 Jan 2023 16:53:48 +1000 Subject: [PATCH] anv/format: handle video extensions structs by ignoring them Acked-by: Lionel Landwerlin Part-of: --- src/intel/vulkan/anv_formats.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/intel/vulkan/anv_formats.c b/src/intel/vulkan/anv_formats.c index d743168..2980f74 100644 --- a/src/intel/vulkan/anv_formats.c +++ b/src/intel/vulkan/anv_formats.c @@ -974,6 +974,9 @@ void anv_GetPhysicalDeviceFormatProperties2( props->bufferFeatures = buffer2; break; } + case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR: + /* don't have any thing to use this for yet */ + break; default: anv_debug_ignored_stype(ext->sType); break; @@ -1394,6 +1397,9 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2( case VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA: from_wsi = true; break; + case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR: + /* Ignore but don't warn */ + break; default: anv_debug_ignored_stype(s->sType); break; -- 2.7.4