hasvk/format: handle video extensions structs by ignoring them

This commit is contained in:
Dave Airlie authored and elwrcl committed 2026-07-21 15:16:41 +03:00
1 parent 40260e83cb
commit f75fb64c41
1 file changed
+6
+6
View File
@@ -953,6 +953,9 @@ void anv_GetPhysicalDeviceFormatProperties2(
props->bufferFeatures = buffer2; props->bufferFeatures = buffer2;
break; break;
} }
case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR:
/* don't have any thing to use this for yet */
break;
default: default:
vk_debug_ignored_stype(ext->sType); vk_debug_ignored_stype(ext->sType);
break; break;
@@ -1376,6 +1379,9 @@ VkResult anv_GetPhysicalDeviceImageFormatProperties2(
case VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA: case VK_STRUCTURE_TYPE_WSI_IMAGE_CREATE_INFO_MESA:
from_wsi = true; from_wsi = true;
break; break;
case VK_STRUCTURE_TYPE_VIDEO_PROFILE_LIST_INFO_KHR:
/* Ignore but don't warn */
break;
default: default:
vk_debug_ignored_stype(s->sType); vk_debug_ignored_stype(s->sType);
break; break;