Searched refs:gpu_count (Results 1 – 1 of 1) sorted by relevance
55 uint32_t gpu_count; in Initialize() local57 res = vkEnumeratePhysicalDevices(mInstance, &gpu_count, nullptr); in Initialize()58 if (gpu_count == 0) { in Initialize()62 std::vector<VkPhysicalDevice> GPUs(gpu_count); in Initialize()64 res = vkEnumeratePhysicalDevices(mInstance, &gpu_count, GPUs.data()); in Initialize()65 if (!(res == VK_SUCCESS && gpu_count > 0)) { in Initialize()