Searched refs:gpuCount (Results 1 – 2 of 2) sorted by relevance
171 uint32_t gpuCount = 0; in init() local172 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, nullptr)); in init()173 if (gpuCount == 0) { in init()178 std::vector<VkPhysicalDevice> gpus(gpuCount, VK_NULL_HANDLE); in init()179 VK_CALL(vkEnumeratePhysicalDevices(mInstance, &gpuCount, gpus.data())); in init()
119 uint32_t gpuCount = 1; in init() local120 int status = vkEnumeratePhysicalDevices(mInstance, &gpuCount, &mGpu); in init()122 ASSERT(gpuCount > 0); in init()