Home
last modified time | relevance | path

Searched refs:icd_idx (Results 1 – 3 of 3) sorted by relevance

/third_party/vulkan-loader/loader/
Dloader_linux.c253 for (uint32_t icd_idx = 0; icd_idx < icd_count; ++icd_idx) { in linux_read_sorted_physical_devices() local
254 for (uint32_t phys_dev = 0; phys_dev < icd_devices[icd_idx].device_count; ++phys_dev) { in linux_read_sorted_physical_devices()
255 struct loader_icd_term *icd_term = icd_devices[icd_idx].icd_term; in linux_read_sorted_physical_devices()
258 … sorted_device_info[index].physical_device = icd_devices[icd_idx].physical_devices[phys_dev]; in linux_read_sorted_physical_devices()
259 sorted_device_info[index].icd_index = icd_idx; in linux_read_sorted_physical_devices()
Dloader.c5892 uint32_t icd_idx = 0; in setup_loader_term_phys_devs() local
5930 ++icd_idx; in setup_loader_term_phys_devs()
5935 …ispatch.EnumeratePhysicalDevices(icd_term->instance, &icd_phys_dev_array[icd_idx].device_count, NU… in setup_loader_term_phys_devs()
5939 icd_idx, res); in setup_loader_term_phys_devs()
5943 icd_phys_dev_array[icd_idx].physical_devices = in setup_loader_term_phys_devs()
5944 …(VkPhysicalDevice *)loader_stack_alloc(icd_phys_dev_array[icd_idx].device_count * sizeof(VkPhysica… in setup_loader_term_phys_devs()
5945 if (NULL == icd_phys_dev_array[icd_idx].physical_devices) { in setup_loader_term_phys_devs()
5948 icd_idx, icd_phys_dev_array[icd_idx].device_count); in setup_loader_term_phys_devs()
5953 …>dispatch.EnumeratePhysicalDevices(icd_term->instance, &(icd_phys_dev_array[icd_idx].device_count), in setup_loader_term_phys_devs()
5954 … icd_phys_dev_array[icd_idx].physical_devices); in setup_loader_term_phys_devs()
[all …]
Dloader_windows.c842 for (uint32_t icd_idx = 0; NULL != icd_term; icd_term = icd_term->next, icd_idx++) { in windows_read_sorted_physical_devices() local
891 sorted_array[*sorted_devices_count].icd_index = icd_idx; in windows_read_sorted_physical_devices()