Home
last modified time | relevance | path

Searched refs:phys_devs (Results 1 – 4 of 4) sorted by relevance

/external/vulkan-validation-layers/loader/
Dloader.c64 VkPhysicalDevice *phys_devs; member
4409 struct loader_phys_dev_per_icd *phys_devs; local
4412 phys_devs = (struct loader_phys_dev_per_icd *)loader_stack_alloc(
4414 if (!phys_devs)
4420 res = icd->EnumeratePhysicalDevices(icd->instance, &phys_devs[i].count,
4430 phys_devs[i].phys_devs = (VkPhysicalDevice *)loader_stack_alloc(
4431 phys_devs[i].count * sizeof(VkPhysicalDevice));
4432 if (!phys_devs[i].phys_devs) {
4436 icd->instance, &(phys_devs[i].count), phys_devs[i].phys_devs);
4438 inst->total_gpu_count += phys_devs[i].count;
[all …]
Dtrampoline.c506 if (ptr_instance->phys_devs) {
507 loader_instance_heap_free(ptr_instance, ptr_instance->phys_devs);
555 if (!inst->phys_devs) {
556 inst->phys_devs =
562 if (!inst->phys_devs) {
570 loader_set_dispatch((void *)&inst->phys_devs[i], inst->disp);
571 inst->phys_devs[i].this_instance = inst;
572 inst->phys_devs[i].phys_dev = pPhysicalDevices[i];
575 pPhysicalDevices[i] = (VkPhysicalDevice)&inst->phys_devs[i];
Dloader.h273 phys_devs; // tramp wrapped physDev obj list member
/external/vulkan-validation-layers/tests/layers/
Dwrap_objects.cpp98 auto phys_devs = new wrapped_phys_dev_obj[*pPhysicalDeviceCount]; in vkEnumeratePhysicalDevices() local
99 if (!phys_devs) in vkEnumeratePhysicalDevices()
103 inst->ptr_phys_devs = phys_devs; in vkEnumeratePhysicalDevices()
106phys_devs[i].loader_disp = *(reinterpret_cast<VkLayerInstanceDispatchTable **> (pPhysicalDevices[i… in vkEnumeratePhysicalDevices()
108 result = inst->pfn_inst_init(vk_inst, reinterpret_cast<void *> (&phys_devs[i])); in vkEnumeratePhysicalDevices()
113 phys_devs[i].obj = reinterpret_cast<void *> (pPhysicalDevices[i]); in vkEnumeratePhysicalDevices()
114 phys_devs[i].inst = inst; in vkEnumeratePhysicalDevices()
115 pPhysicalDevices[i] = reinterpret_cast<VkPhysicalDevice> (&phys_devs[i]); in vkEnumeratePhysicalDevices()