mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-03 21:58:26 +02:00
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:
parent
0f9ef0ea71
commit
b31d1913fc
1 changed files with 7 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue