From: Samuel Pitoiset Date: Wed, 29 Apr 2020 09:56:50 +0000 (+0200) Subject: radv: rename radv_devices() to radv_enumerate_physical_devices() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b867a677e99f429d904021b37c5640d3eeaf0e8d;p=mesa.git radv: rename radv_devices() to radv_enumerate_physical_devices() Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c index e8bdc4d76c1..118f8f2b32a 100644 --- a/src/amd/vulkan/radv_device.c +++ b/src/amd/vulkan/radv_device.c @@ -740,7 +740,7 @@ void radv_DestroyInstance( } static VkResult -radv_enumerate_devices(struct radv_instance *instance) +radv_enumerate_physical_devices(struct radv_instance *instance) { /* TODO: Check for more devices ? */ drmDevicePtr devices[8]; @@ -799,7 +799,7 @@ VkResult radv_EnumeratePhysicalDevices( VkResult result; if (instance->physicalDeviceCount < 0) { - result = radv_enumerate_devices(instance); + result = radv_enumerate_physical_devices(instance); if (result != VK_SUCCESS && result != VK_ERROR_INCOMPATIBLE_DRIVER) return result; @@ -826,7 +826,7 @@ VkResult radv_EnumeratePhysicalDeviceGroups( VkResult result; if (instance->physicalDeviceCount < 0) { - result = radv_enumerate_devices(instance); + result = radv_enumerate_physical_devices(instance); if (result != VK_SUCCESS && result != VK_ERROR_INCOMPATIBLE_DRIVER) return result;