From b867a677e99f429d904021b37c5640d3eeaf0e8d Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Wed, 29 Apr 2020 11:56:50 +0200 Subject: [PATCH] radv: rename radv_devices() to radv_enumerate_physical_devices() Signed-off-by: Samuel Pitoiset Reviewed-by: Bas Nieuwenhuizen Part-of: --- src/amd/vulkan/radv_device.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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; -- 2.30.2