From b31d1913fc8af0778b05c0ac8a47aa8777a403f2 Mon Sep 17 00:00:00 2001 From: "Thomas H.P. Andersen" Date: Tue, 12 May 2026 12:59:27 +0200 Subject: [PATCH] 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 Part-of: --- src/nouveau/vulkan/nvk_physical_device.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/nouveau/vulkan/nvk_physical_device.c b/src/nouveau/vulkan/nvk_physical_device.c index c8145055f77..788501d99a7 100644 --- a/src/nouveau/vulkan/nvk_physical_device.c +++ b/src/nouveau/vulkan/nvk_physical_device.c @@ -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;