}
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];
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;
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;