Searched refs:phys_dev_count (Results 1 – 9 of 9) sorted by relevance
/third_party/vulkan-loader/tests/ |
D | loader_envvar_tests.cpp | 119 uint32_t phys_dev_count = 1; in TEST() local 120 …ASSERT_EQ(inst1->vkEnumeratePhysicalDevices(inst1.inst, &phys_dev_count, phys_devs_array.data()), … in TEST() 121 ASSERT_EQ(phys_dev_count, 1U); in TEST() 135 phys_dev_count = 5; in TEST() 136 …ASSERT_EQ(inst2->vkEnumeratePhysicalDevices(inst2.inst, &phys_dev_count, phys_devs_array.data()), … in TEST() 137 ASSERT_EQ(phys_dev_count, 5U); in TEST() 216 uint32_t phys_dev_count = 1; in TEST() local 217 …ASSERT_EQ(inst1->vkEnumeratePhysicalDevices(inst1.inst, &phys_dev_count, phys_devs_array.data()), … in TEST() 218 ASSERT_EQ(phys_dev_count, 1U); in TEST() 250 uint32_t phys_dev_count = 3; in TEST() local [all …]
|
D | loader_version_tests.cpp | 235 const size_t phys_dev_count = physical_device_names.size(); in TEST() local 241 std::vector<VkPhysicalDevice> adapter_pds{phys_dev_count}; in TEST() 244 ASSERT_EQ(phys_dev_count, count); in TEST() 246 for (uint32_t dev = 0; dev < phys_dev_count; ++dev) { in TEST() 336 uint32_t phys_dev_count = 3; in TEST() local 337 …ASSERT_EQ(env.vulkan_functions.vkEnumeratePhysicalDevices(inst, &phys_dev_count, phys_devs_array.d… in TEST() 338 ASSERT_EQ(phys_dev_count, 3U); in TEST() 363 uint32_t phys_dev_count = 2; in TEST() local 364 …ASSERT_EQ(env.vulkan_functions.vkEnumeratePhysicalDevices(inst, &phys_dev_count, phys_devs_array.d… in TEST() 365 ASSERT_EQ(phys_dev_count, 2U); in TEST() [all …]
|
D | loader_layer_tests.cpp | 1270 uint32_t phys_dev_count = 0; in TEST() local 1271 ….instance_dispatch_table.EnumeratePhysicalDevices(layer.instance_handle, &phys_dev_count, nullptr); in TEST() 1272 if (res != VK_SUCCESS || phys_dev_count > 1) { in TEST() 1276 …nstance_dispatch_table.EnumeratePhysicalDevices(layer.instance_handle, &phys_dev_count, &phys_dev); in TEST() 1309 uint32_t phys_dev_count = 1; in TEST() local 1311 …nstance_dispatch_table.EnumeratePhysicalDevices(layer.instance_handle, &phys_dev_count, &phys_dev); in TEST()
|
/third_party/vulkan-loader/loader/ |
D | loader_linux.c | 236 … struct loader_phys_dev_per_icd *icd_devices, uint32_t phys_dev_count, in linux_read_sorted_physical_devices() argument 242 … inst, phys_dev_count * sizeof(struct LinuxSortedDeviceInfo), VK_SYSTEM_ALLOCATION_SCOPE_COMMAND); in linux_read_sorted_physical_devices() 322 linux_env_var_default_device(inst, phys_dev_count, sorted_device_info); in linux_read_sorted_physical_devices() 325 … qsort(sorted_device_info, phys_dev_count, sizeof(struct LinuxSortedDeviceInfo), compare_devices); in linux_read_sorted_physical_devices() 331 for (uint32_t dev = 0; dev < phys_dev_count; ++dev) { in linux_read_sorted_physical_devices()
|
D | loader_linux.h | 31 … struct loader_phys_dev_per_icd *icd_devices, uint32_t phys_dev_count,
|
D | loader.h | 168 VkResult setup_loader_tramp_phys_devs(struct loader_instance *inst, uint32_t phys_dev_count, VkPhys…
|
D | loader.c | 5654 VkResult setup_loader_tramp_phys_devs(struct loader_instance *inst, uint32_t phys_dev_count, VkPhys… in setup_loader_tramp_phys_devs() argument 5661 if (0 == phys_dev_count) { in setup_loader_tramp_phys_devs() 5664 if (phys_dev_count > new_count) { in setup_loader_tramp_phys_devs() 5665 new_count = phys_dev_count; in setup_loader_tramp_phys_devs() 5685 for (uint32_t new_idx = 0; new_idx < phys_dev_count; ++new_idx) { in setup_loader_tramp_phys_devs() 5698 if (found_count == phys_dev_count && 0 != old_count && old_count == new_count) { in setup_loader_tramp_phys_devs() 5699 for (uint32_t new_idx = 0; new_idx < phys_dev_count; ++new_idx) { in setup_loader_tramp_phys_devs() 5722 if (new_count > phys_dev_count) { in setup_loader_tramp_phys_devs() 5723 found_count = phys_dev_count; in setup_loader_tramp_phys_devs() 6141 uint32_t phys_dev_count = 0; in setup_loader_tramp_phys_dev_groups() local [all …]
|
/third_party/vulkan-loader/tests/framework/ |
D | test_environment.cpp | 59 std::vector<VkPhysicalDevice> InstWrapper::GetPhysDevs(uint32_t phys_dev_count, VkResult result_to_… in GetPhysDevs() argument 60 uint32_t physical_count = phys_dev_count; in GetPhysDevs() 62 physical_devices.resize(phys_dev_count); in GetPhysDevs()
|
D | test_environment.h | 143 std::vector<VkPhysicalDevice> GetPhysDevs(uint32_t phys_dev_count,
|