Home
last modified time | relevance | path

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

/cts/tests/tests/graphics/jni/
DVulkanPreTransformTestHelpers.cpp171 uint32_t gpuCount = 0; in init() local
172 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()
DVulkanTestHelpers.cpp119 uint32_t gpuCount = 1; in init() local
120 int status = vkEnumeratePhysicalDevices(mInstance, &gpuCount, &mGpu); in init()
122 ASSERT(gpuCount > 0); in init()