nvk: set queryResultStatusSupport

Set this to false for non-video queues like the Nvidia driver.

This prevents getting debug warns that
VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR
is not handled when we enable KHR_video_queue.

Reviewed-by: Mel Henning <mhenning@darkrefraction.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/41752>
This commit is contained in:
Thomas H.P. Andersen 2026-05-12 12:59:27 +02:00 committed by Marge Bot
parent 0f9ef0ea71
commit b31d1913fc

View file

@ -1782,6 +1782,13 @@ nvk_GetPhysicalDeviceQueueFamilyProperties2(
p->priorities[0] = VK_QUEUE_GLOBAL_PRIORITY_MEDIUM;
break;
}
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_QUERY_RESULT_STATUS_PROPERTIES_KHR: {
VkQueueFamilyQueryResultStatusPropertiesKHR *p = (void *)ext;
p->queryResultStatusSupport = VK_FALSE;
break;
}
case VK_STRUCTURE_TYPE_QUEUE_FAMILY_OWNERSHIP_TRANSFER_PROPERTIES_KHR: {
VkQueueFamilyOwnershipTransferPropertiesKHR *p = (void *)ext;
p->optimalImageTransferToQueueFamilies = ~0;