Searched refs:physical_devices (Results 1 – 3 of 3) sorted by relevance
352 VkPhysicalDevice* physical_devices) { in EnumeratePhysicalDevices() argument353 if (!physical_devices) in EnumeratePhysicalDevices()358 physical_devices[0] = &instance->physical_device; in EnumeratePhysicalDevices()
1212 std::unique_ptr<vk::PhysicalDevice[]> physical_devices(new vk::PhysicalDevice[gpu_count]); in init_vk() local1213 result = inst.enumeratePhysicalDevices(&gpu_count, physical_devices.get()); in init_vk()1216 gpu = physical_devices[0]; in init_vk()
3264 VkPhysicalDevice *physical_devices = malloc(sizeof(VkPhysicalDevice) * gpu_count); in demo_init_vk() local3265 err = vkEnumeratePhysicalDevices(demo->inst, &gpu_count, physical_devices); in demo_init_vk()3268 demo->gpu = physical_devices[0]; in demo_init_vk()3269 free(physical_devices); in demo_init_vk()