From 8d7cbe026e344cfb009b0fc88352c8c10388de14 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 18 Mar 2022 09:49:09 -0500 Subject: [PATCH] anv: Drop GetPhysicalDeviceQueueFamilyProperties Part-of: --- src/intel/vulkan/anv_device.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index c6f38a5707d..976bb721b44 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -2629,24 +2629,6 @@ anv_queue_family_properties_template = { .minImageTransferGranularity = { 1, 1, 1 }, }; -void anv_GetPhysicalDeviceQueueFamilyProperties( - VkPhysicalDevice physicalDevice, - uint32_t* pCount, - VkQueueFamilyProperties* pQueueFamilyProperties) -{ - ANV_FROM_HANDLE(anv_physical_device, pdevice, physicalDevice); - VK_OUTARRAY_MAKE(out, pQueueFamilyProperties, pCount); - - for (uint32_t i = 0; i < pdevice->queue.family_count; i++) { - struct anv_queue_family *queue_family = &pdevice->queue.families[i]; - vk_outarray_append(&out, p) { - *p = anv_queue_family_properties_template; - p->queueFlags = queue_family->queueFlags; - p->queueCount = queue_family->queueCount; - } - } -} - void anv_GetPhysicalDeviceQueueFamilyProperties2( VkPhysicalDevice physicalDevice, uint32_t* pQueueFamilyPropertyCount,