Home | History | Annotate | Download | only in loader

Lines Matching defs:phys_devs

70     VkPhysicalDevice *phys_devs;
1184 if (icd->phys_devs != NULL)
1185 loader_heap_free(ptr_inst, icd->phys_devs);
3877 struct loader_phys_dev_per_icd *phys_devs;
3880 phys_devs = (struct loader_phys_dev_per_icd *)loader_stack_alloc(
3882 if (!phys_devs)
3888 res = icd->EnumeratePhysicalDevices(icd->instance, &phys_devs[i].count,
3898 phys_devs[i].phys_devs = (VkPhysicalDevice *)loader_stack_alloc(
3899 phys_devs[i].count * sizeof(VkPhysicalDevice));
3900 if (!phys_devs[i].phys_devs) {
3904 icd->instance, &(phys_devs[i].count), phys_devs[i].phys_devs);
3906 inst->total_gpu_count += phys_devs[i].count;
3910 phys_devs[i].this_icd = icd;
3939 icd = phys_devs[i].this_icd;
3940 if (icd->phys_devs != NULL) {
3941 loader_heap_free(inst, icd->phys_devs);
3943 icd->phys_devs = loader_heap_alloc(inst,
3944 sizeof(VkPhysicalDevice) * phys_devs[i].count,
3947 for (j = 0; j < phys_devs[i].count && idx < copy_count; j++) {
3949 inst->phys_devs_term[idx].this_icd = phys_devs[i].this_icd;
3950 inst->phys_devs_term[idx].phys_dev = phys_devs[i].phys_devs[j];
3951 icd->phys_devs[j] = phys_devs[i].phys_devs[j];