From 205bf5d9cbab97bc29b319685d69947b5ccb8bb6 Mon Sep 17 00:00:00 2001 From: Jason Ekstrand Date: Fri, 18 Mar 2022 09:50:07 -0500 Subject: [PATCH] radv: Drop GetPhysicalDeviceQueueFamilyProperties Reviewed-by: Samuel Pitoiset Part-of: --- src/amd/vulkan/radv_device.c | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index ee9be00072f..d8087639389 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -2450,24 +2450,6 @@ radv_get_physical_device_queue_family_properties(struct radv_physical_device *pd *pCount = idx; } -VKAPI_ATTR void VKAPI_CALL -radv_GetPhysicalDeviceQueueFamilyProperties(VkPhysicalDevice physicalDevice, uint32_t *pCount, - VkQueueFamilyProperties *pQueueFamilyProperties) -{ - RADV_FROM_HANDLE(radv_physical_device, pdevice, physicalDevice); - if (!pQueueFamilyProperties) { - radv_get_physical_device_queue_family_properties(pdevice, pCount, NULL); - return; - } - VkQueueFamilyProperties *properties[] = { - pQueueFamilyProperties + 0, - pQueueFamilyProperties + 1, - pQueueFamilyProperties + 2, - }; - radv_get_physical_device_queue_family_properties(pdevice, pCount, properties); - assert(*pCount <= 3); -} - static const VkQueueGlobalPriorityEXT radv_global_queue_priorities[] = { VK_QUEUE_GLOBAL_PRIORITY_LOW_EXT, VK_QUEUE_GLOBAL_PRIORITY_MEDIUM_EXT,