Searched refs:device_count (Results 1 – 1 of 1) sorted by relevance
1230 uint32_t device_count = 0; in EnumeratePhysicalDeviceGroups() local1231 result = EnumeratePhysicalDevices(instance, &device_count, nullptr); in EnumeratePhysicalDeviceGroups()1236 *pPhysicalDeviceGroupCount = device_count; in EnumeratePhysicalDeviceGroups()1240 if (!device_count) { in EnumeratePhysicalDeviceGroups()1244 device_count = std::min(device_count, *pPhysicalDeviceGroupCount); in EnumeratePhysicalDeviceGroups()1245 if (!device_count) in EnumeratePhysicalDeviceGroups()1249 devices.resize(device_count); in EnumeratePhysicalDeviceGroups()1250 *pPhysicalDeviceGroupCount = device_count; in EnumeratePhysicalDeviceGroups()1251 result = EnumeratePhysicalDevices(instance, &device_count, in EnumeratePhysicalDeviceGroups()1256 for (uint32_t i = 0; i < device_count; ++i) { in EnumeratePhysicalDeviceGroups()