Home
last modified time | relevance | path

Searched refs:device_count (Results 1 – 1 of 1) sorted by relevance

/frameworks/native/vulkan/libvulkan/
Ddriver.cpp1605 uint32_t device_count = 0; in EnumeratePhysicalDeviceGroups() local
1606 result = EnumeratePhysicalDevices(instance, &device_count, nullptr); in EnumeratePhysicalDeviceGroups()
1611 *pPhysicalDeviceGroupCount = device_count; in EnumeratePhysicalDeviceGroups()
1615 if (!device_count) { in EnumeratePhysicalDeviceGroups()
1619 device_count = std::min(device_count, *pPhysicalDeviceGroupCount); in EnumeratePhysicalDeviceGroups()
1620 if (!device_count) in EnumeratePhysicalDeviceGroups()
1623 std::vector<VkPhysicalDevice> devices(device_count); in EnumeratePhysicalDeviceGroups()
1624 *pPhysicalDeviceGroupCount = device_count; in EnumeratePhysicalDeviceGroups()
1626 EnumeratePhysicalDevices(instance, &device_count, devices.data()); in EnumeratePhysicalDeviceGroups()
1630 for (uint32_t i = 0; i < device_count; ++i) { in EnumeratePhysicalDeviceGroups()