Searched refs:pdev_count (Results 1 – 1 of 1) sorted by relevance
1145 uint32_t i, pdev_count; in choose_pdev() local1147 VkResult result = vkEnumeratePhysicalDevices(screen->instance, &pdev_count, NULL); in choose_pdev()1151 assert(pdev_count > 0); in choose_pdev()1153 pdevs = malloc(sizeof(*pdevs) * pdev_count); in choose_pdev()1154 result = vkEnumeratePhysicalDevices(screen->instance, &pdev_count, pdevs); in choose_pdev()1156 assert(pdev_count > 0); in choose_pdev()1159 for (i = 0; i < pdev_count; ++i) { in choose_pdev()