Home
last modified time | relevance | path

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

/third_party/vulkan-loader/tests/
Dloader_wsi_tests.cpp208 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST() local
209 …, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count, phys_devs.data())); in TEST()
214 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
397 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST() local
398 …, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count, phys_devs.data())); in TEST()
403 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
586 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST() local
587 …, env.vulkan_functions.vkEnumeratePhysicalDevices(instance.inst, &device_count, phys_devs.data())); in TEST()
592 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkGetPhysicalDeviceSurfaceSupportKHR(phys_devs[pd], 0, … in TEST()
775 std::array<VkPhysicalDevice, max_device_count> phys_devs; in TEST() local
[all …]
Dloader_unknown_ext_tests.cpp393 auto phys_devs = inst.GetPhysDevs(2); in TEST() local
394 VkPhysicalDevice phys_dev_0 = phys_devs[0]; in TEST()
395 VkPhysicalDevice phys_dev_1 = phys_devs[1]; in TEST()
396 env.vulkan_functions.vkGetPhysicalDeviceProperties(phys_devs[0], &props); in TEST()
398 phys_dev_0 = phys_devs[1]; in TEST()
399 phys_dev_1 = phys_devs[0]; in TEST()
439 auto phys_devs = inst.GetPhysDevs(2); in TEST() local
440 VkPhysicalDevice phys_dev_to_use = phys_devs[1]; in TEST()
441 env.vulkan_functions.vkGetPhysicalDeviceProperties(phys_devs[1], &props); in TEST()
442 if (props.deviceType != VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU) phys_dev_to_use = phys_devs[0]; in TEST()
[all …]
Dloader_regression_tests.cpp983 auto phys_devs = inst.GetPhysDevs(100); in TEST() local
987 dev.CheckCreate(phys_devs[i]); in TEST()
1004 auto phys_devs = inst.GetPhysDevs(100); in TEST() local
1012 dev.CheckCreate(phys_devs[i]); in TEST()
3371 auto phys_devs = inst.GetPhysDevs(2); in TEST() local
3372 for (const auto& phys_dev : phys_devs) { in TEST()
3377 dev_info_0.CheckCreate(phys_devs[0]); in TEST()
3378 dev_info_1.CheckCreate(phys_devs[1]); in TEST()
/third_party/vulkan-loader/tests/live_verification/
Ddynamic_rendering_get_proc_addr.cpp40 auto phys_devs = inst.GetPhysDevs(); in main() local
42 for (const auto& phys_dev : phys_devs) { in main()
/third_party/vulkan-loader/tests/framework/layer/
Dwrap_objects.cpp370 auto phys_devs = new wrapped_phys_dev_obj[*pPhysicalDeviceCount]; in wrap_vkEnumeratePhysicalDevices() local
371 if (!phys_devs) return VK_ERROR_OUT_OF_HOST_MEMORY; in wrap_vkEnumeratePhysicalDevices()
373 inst->ptr_phys_devs = phys_devs; in wrap_vkEnumeratePhysicalDevices()
376phys_devs[i].loader_disp = *(reinterpret_cast<VkLayerInstanceDispatchTable **>(pPhysicalDevices[i]… in wrap_vkEnumeratePhysicalDevices()
378 result = inst->pfn_inst_init(vk_inst, reinterpret_cast<void *>(&phys_devs[i])); in wrap_vkEnumeratePhysicalDevices()
381 phys_devs[i].obj = reinterpret_cast<void *>(pPhysicalDevices[i]); in wrap_vkEnumeratePhysicalDevices()
382 phys_devs[i].inst = inst; in wrap_vkEnumeratePhysicalDevices()
383 pPhysicalDevices[i] = reinterpret_cast<VkPhysicalDevice>(&phys_devs[i]); in wrap_vkEnumeratePhysicalDevices()
/third_party/vulkan-loader/loader/
Dloader.h168 …ramp_phys_devs(struct loader_instance *inst, uint32_t phys_dev_count, VkPhysicalDevice *phys_devs);
Dloader.c5654 …amp_phys_devs(struct loader_instance *inst, uint32_t phys_dev_count, VkPhysicalDevice *phys_devs) { in setup_loader_tramp_phys_devs() argument
5686 if (inst->phys_devs_tramp[cur_idx]->phys_dev == phys_devs[new_idx]) { in setup_loader_tramp_phys_devs()
5702 phys_devs[new_idx] = (VkPhysicalDevice)inst->phys_devs_tramp[cur_idx]; in setup_loader_tramp_phys_devs()
5753 new_phys_devs[new_idx]->phys_dev = phys_devs[new_idx]; in setup_loader_tramp_phys_devs()
5757 phys_devs[new_idx] = (VkPhysicalDevice)new_phys_devs[new_idx]; in setup_loader_tramp_phys_devs()