Home
last modified time | relevance | path

Searched refs:physical_devices (Results 1 - 25 of 35) sorted by relevance

12

/third_party/vulkan-loader/tests/
H A Dloader_regression_tests.cpp342 driver.physical_devices.front().extensions.push_back(ext); in TEST()
369 driver.physical_devices.front().extensions.push_back(ext); in TEST()
487 .physical_devices.at(0) in TEST()
521 driver.physical_devices.front().extensions.emplace_back("MyDriverExtension0", 4); in TEST()
522 driver.physical_devices.front().extensions.emplace_back("MyDriverExtension1", 7); in TEST()
524 exts.insert(exts.begin(), driver.physical_devices.front().extensions.begin(), driver.physical_devices.front().extensions.end()); in TEST()
552 driver.physical_devices.front().extensions.emplace_back("MyDriverExtension0", 4); in TEST()
553 driver.physical_devices.front().extensions.emplace_back("MyDriverExtension1", 7); in TEST()
554 driver.physical_devices in TEST()
1633 auto physical_devices = std::vector<VkPhysicalDevice>(max_physical_device_count); TEST() local
1700 auto physical_devices = std::vector<VkPhysicalDevice>(max_physical_device_count); TEST() local
1767 auto physical_devices = std::vector<VkPhysicalDevice>(max_physical_device_count); TEST() local
1815 auto physical_devices = std::vector<VkPhysicalDevice>(max_physical_device_count); TEST() local
2798 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
2910 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3036 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3153 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3307 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3492 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3983 auto physical_devices = inst.GetPhysDevs(); TEST() local
4005 auto physical_devices = inst.GetPhysDevs(); TEST() local
[all...]
H A Dloader_phys_dev_inst_ext_tests.cpp63 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
76 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
91 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
92 FillInRandomDeviceProps(env.get_test_icd(0).physical_devices.back().properties, VK_API_VERSION_1_0, 5, 123); in TEST()
128 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
129 env.get_test_icd(0).physical_devices.back().extensions.push_back({VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 0}); in TEST()
130 FillInRandomDeviceProps(env.get_test_icd(0).physical_devices.back().properties, VK_API_VERSION_1_1, 5, 123); in TEST()
230 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
231 env.get_test_icd(0).physical_devices.back().extensions.push_back({VK_KHR_GET_PHYSICAL_DEVICE_PROPERTIES_2_EXTENSION_NAME, 0}); in TEST()
232 FillInRandomDeviceProps(env.get_test_icd(0).physical_devices in TEST()
335 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
705 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
989 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
1367 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
1673 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
2020 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
2437 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
2702 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
2962 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3221 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3467 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3678 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
3872 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
4060 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
4245 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
4433 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
4595 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
4812 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5004 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5177 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5347 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5515 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5647 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5800 std::array<VkPhysicalDevice, max_phys_devs> physical_devices; TEST() local
5867 auto physical_devices = inst.GetPhysDevs(expected_device_count); TEST() local
5916 auto physical_devices = inst.GetPhysDevs(expected_device_count); TEST() local
[all...]
H A Dloader_version_tests.cpp104 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
105 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
106 uint32_t physical_count = static_cast<uint32_t>(driver.physical_devices.size()); in TEST()
107 uint32_t returned_physical_count = static_cast<uint32_t>(driver.physical_devices.size()); in TEST()
135 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
136 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
186 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
187 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
188 uint32_t physical_count = static_cast<uint32_t>(driver.physical_devices.size()); in TEST()
189 uint32_t returned_physical_count = static_cast<uint32_t>(driver.physical_devices in TEST()
[all...]
H A Dloader_alloc_callback_tests.cpp658 VkPhysicalDevice physical_devices[2]; in TEST() local
659 ASSERT_EQ(VK_SUCCESS, inst->vkEnumeratePhysicalDevices(inst.inst, &returned_physical_count, physical_devices)); in TEST()
664 env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_devices[0], &returned_family_count, nullptr); in TEST()
668 env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_devices[0], &returned_family_count, &family); in TEST()
683 result = inst->vkCreateDevice(physical_devices[0], dev_create_info.get(), tracker.get(), &device); in TEST()
710 .physical_devices.at(0) in TEST()
779 std::vector<VkPhysicalDevice> physical_devices; in TEST() local
780 physical_devices.resize(returned_physical_count); in TEST()
781 result = env.vulkan_functions.vkEnumeratePhysicalDevices(instance, &returned_physical_count, physical_devices.data()); in TEST()
792 env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_devices in TEST()
1021 std::array<VkPhysicalDevice, 2> physical_devices; TEST() local
[all...]
H A Dloader_wsi_tests.cpp130 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
157 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
184 cur_icd.physical_devices.emplace_back(dev_name.c_str()); in TEST()
185 cur_icd.physical_devices.back().add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, 1}}, true}); in TEST()
313 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
340 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
367 cur_icd.physical_devices.emplace_back(dev_name.c_str()); in TEST()
368 cur_icd.physical_devices.back().add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, 1}}, true}); in TEST()
496 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
523 cur_icd.physical_devices in TEST()
[all...]
H A Dloader_unknown_ext_tests.cpp343 fill_implementation_functions(driver.physical_devices.at(0).custom_physical_device_functions, function_names, in TEST()
362 driver_0.physical_devices.emplace_back("physical_device_0").properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU; in TEST()
363 driver_1.physical_devices.emplace_back("physical_device_1").properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU; in TEST()
366 fill_implementation_functions(driver_0.physical_devices.at(0).custom_physical_device_functions, function_names, in TEST()
368 fill_implementation_functions(driver_1.physical_devices.at(0).custom_physical_device_functions, function_names, in TEST()
400 driver_0.physical_devices.emplace_back("physical_device_0").properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU; in TEST()
401 driver_1.physical_devices.emplace_back("physical_device_1").properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU; in TEST()
405 driver_0.physical_devices.at(0).custom_physical_device_functions.push_back( in TEST()
457 driver_0.physical_devices.emplace_back("physical_device_0").properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU; in TEST()
458 driver_1.physical_devices in TEST()
[all...]
H A Dloader_threading_tests.cpp93 driver.physical_devices.emplace_back("physical_device_0") in TEST()
117 driver.physical_devices.emplace_back("physical_device_0").known_device_functions = { in TEST()
H A Dloader_debug_ext_tests.cpp56 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
57 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
390 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
391 env->get_test_icd(icd).physical_devices.push_back({}); in SetUp()
1046 driver.physical_devices.at(0).add_extensions({"VK_KHR_swapchain"}); in TEST()
1059 driver.physical_devices.at(0).add_extensions({"VK_EXT_debug_marker"}); in TEST()
1074 driver.physical_devices.at(0).add_extensions({"VK_KHR_swapchain"}); in TEST()
1108 driver.physical_devices.at(0).add_extensions({"VK_KHR_swapchain"}); in TEST()
H A Dloader_layer_tests.cpp4523 cur_icd.physical_devices.back().set_properties(properties); in TEST()
4525 cur_icd.physical_device_groups.emplace_back(cur_icd.physical_devices[0]); in TEST()
4526 cur_icd.physical_device_groups.emplace_back(cur_icd.physical_devices[1]); in TEST()
4527 cur_icd.physical_device_groups.back().use_physical_device(cur_icd.physical_devices[2]); in TEST()
4544 auto physical_devices = std::vector<VkPhysicalDevice>(dev_count); in TEST() local
4546 ASSERT_EQ(VK_SUCCESS, inst->vkEnumeratePhysicalDevices(inst, &returned_phys_dev_count, physical_devices.data())); in TEST()
4554 inst->vkGetPhysicalDeviceProperties(physical_devices[dev], &props); in TEST()
4559 if (not_exp_physical_devices[incomp] == physical_devices[dev]) { in TEST()
4600 cur_icd.physical_devices.back().set_properties(properties); in TEST()
4602 cur_icd.physical_device_groups.emplace_back(cur_icd.physical_devices[ in TEST()
4616 auto physical_devices = std::vector<VkPhysicalDevice>(dev_count); TEST() local
4666 auto physical_devices = std::vector<VkPhysicalDevice>(dev_count); TEST() local
4716 auto physical_devices = std::vector<VkPhysicalDevice>(dev_count); TEST() local
[all...]
H A Dloader_get_proc_addr_tests.cpp259 driver.physical_devices.at(0).add_extensions({"VK_KHR_swapchain", "VK_KHR_display_swapchain", "VK_EXT_debug_marker"}); in TEST()
338 driver.physical_devices.back().add_device_function(VulkanFunction{f, [] {}}); in TEST()
392 driver.physical_devices.back().add_device_function(VulkanFunction{f, [] {}}); in TEST()
450 driver.physical_devices.back().add_device_function(VulkanFunction{f, [] {}}); in TEST()
/third_party/vulkan-loader/tests/framework/icd/
H A Dtest_icd.h113 BUILDER_VECTOR_MOVE_ONLY(TestICD, PhysicalDevice, physical_devices, physical_device);
143 for (auto& phys_dev : physical_devices) { in GetPhysDevice()
147 return physical_devices[0]; in GetPhysDevice()
165 for (uint32_t p = 0; p < physical_devices.size(); p++) { in lookup_device()
166 auto const& phys_dev = physical_devices.at(p); in lookup_device()
H A Dphysical_device.h95 PhysicalDeviceGroup(std::vector<PhysicalDevice*> const& physical_devices) { in PhysicalDeviceGroup()
96 physical_device_handles.insert(physical_device_handles.end(), physical_devices.begin(), physical_devices.end()); in PhysicalDeviceGroup()
H A Dtest_icd.cpp94 for (auto& phys_dev : icd.physical_devices) {
218 *pPhysicalDeviceCount = static_cast<uint32_t>(icd.physical_devices.size());
221 for (size_t i = 0; i < icd.physical_devices.size(); i++) {
224 pPhysicalDevices[i] = icd.physical_devices[i].vk_physical_device.handle;
243 *pPhysicalDeviceGroupCount = static_cast<uint32_t>(icd.physical_devices.size());
261 group_count = static_cast<uint32_t>(icd.physical_devices.size());
262 for (size_t device_group = 0; device_group < icd.physical_devices.size(); device_group++) {
271 icd.physical_devices[device_group].vk_physical_device.handle;
351 if (pd != icd.physical_devices.at(icd.lookup_device(dev).phys_dev_index).vk_physical_device.handle)
365 if (pd != icd.physical_devices
[all...]
/third_party/mesa3d/src/vulkan/device-select-layer/
H A Ddevice_select_layer.c480 VkPhysicalDevice *physical_devices = (VkPhysicalDevice*)calloc(sizeof(VkPhysicalDevice), physical_device_count); in device_select_EnumeratePhysicalDevices()
484 if (!physical_devices || !selected_physical_devices) { in device_select_EnumeratePhysicalDevices()
489 result = info->EnumeratePhysicalDevices(instance, &physical_device_count, physical_devices); in device_select_EnumeratePhysicalDevices()
495 info->EnumerateDeviceExtensionProperties(physical_devices[i], NULL, &count, NULL); in device_select_EnumeratePhysicalDevices()
498 if (info->EnumerateDeviceExtensionProperties(physical_devices[i], NULL, &count, extensions) == VK_SUCCESS) { in device_select_EnumeratePhysicalDevices()
510 print_gpu(info, i, physical_devices[i]); in device_select_EnumeratePhysicalDevices()
513 unsigned selected_index = get_default_device(info, selection, physical_device_count, physical_devices); in device_select_EnumeratePhysicalDevices()
515 selected_physical_devices[0] = physical_devices[selected_index]; in device_select_EnumeratePhysicalDevices()
518 selected_physical_devices[i + 1] = physical_devices[this_idx]; in device_select_EnumeratePhysicalDevices()
540 free(physical_devices); in device_select_EnumeratePhysicalDevices()
[all...]
/third_party/vulkan-loader/loader/
H A Dloader_windows.c818 next_icd_phys_devs->physical_devices = loader_instance_heap_realloc( in enumerate_adapter_physical_devices()
819 inst, next_icd_phys_devs->physical_devices, next_icd_phys_devs->device_count * sizeof(VkPhysicalDevice), in enumerate_adapter_physical_devices()
821 if (next_icd_phys_devs->physical_devices == NULL) { in enumerate_adapter_physical_devices()
826 next_icd_phys_devs->physical_devices)) == VK_INCOMPLETE); in enumerate_adapter_physical_devices()
829 loader_instance_heap_free(inst, next_icd_phys_devs->physical_devices); in enumerate_adapter_physical_devices()
830 next_icd_phys_devs->physical_devices = NULL; in enumerate_adapter_physical_devices()
847 if (icd_phys_devs_array[j].physical_devices[k] != next_icd_phys_devs->physical_devices[k]) { in enumerate_adapter_physical_devices()
895 icd_phys_devs_array[i].icd_term->dispatch.GetPhysicalDeviceProperties(icd_phys_devs_array[i].physical_devices[k], in sort_physical_devices_with_same_luid()
909 GetPhysDevProps2(icd_phys_devs_array[i].physical_devices[ in sort_physical_devices_with_same_luid()
[all...]
H A Dloader_common.h472 VkPhysicalDevice *physical_devices; member
H A Dloader_linux.c258 sorted_device_info[index].physical_device = icd_devices[icd_idx].physical_devices[phys_dev]; in linux_read_sorted_physical_devices()
/third_party/vulkan-loader/tests/framework/
H A Dtest_environment.cpp203 std::vector<VkPhysicalDevice> physical_devices; local
204 physical_devices.resize(phys_dev_count);
205 VkResult res = functions->vkEnumeratePhysicalDevices(inst, &physical_count, physical_devices.data());
207 return physical_devices;
214 std::vector<VkPhysicalDevice> physical_devices; local
215 physical_devices.resize(physical_count);
216 res = functions->vkEnumeratePhysicalDevices(inst, &physical_count, physical_devices.data());
218 return physical_devices;
/third_party/vk-gl-cts/external/amber/src/samples/
H A Dconfig_helper_vulkan.cc910 std::vector<VkPhysicalDevice> physical_devices; in ChooseVulkanPhysicalDevice() local
917 physical_devices.resize(count); in ChooseVulkanPhysicalDevice()
919 physical_devices.data()) != VK_SUCCESS) { in ChooseVulkanPhysicalDevice()
930 physical_devices[deviceID], required_features, required_extensions); in ChooseVulkanPhysicalDevice()
933 vulkan_physical_device_ = physical_devices[deviceID]; in ChooseVulkanPhysicalDevice()
938 physical_devices[i], required_features, required_extensions); in ChooseVulkanPhysicalDevice()
941 vulkan_physical_device_ = physical_devices[i]; in ChooseVulkanPhysicalDevice()
/third_party/vulkan-loader/tests/framework/layer/
H A Dwrap_objects.cpp102 std::vector<wrapped_phys_dev_obj *> physical_devices; member
117 auto it = std::find(saved_wrapped_handles.physical_devices.begin(), saved_wrapped_handles.physical_devices.end(), *phys_dev); in unwrap_phys_dev()
118 return (it == saved_wrapped_handles.physical_devices.end()) ? VK_NULL_HANDLE in unwrap_phys_dev()
397 saved_wrapped_handles.physical_devices.push_back(phys_devs); in wrap_vkEnumeratePhysicalDevices()
/third_party/mesa3d/src/panfrost/vulkan/
H A Dpanvk_device.c241 panvk_physical_device_finish(instance->physical_devices + i); in panvk_DestroyInstance()
404 result = panvk_physical_device_init(instance->physical_devices + in panvk_enumerate_devices()
438 *p = panvk_physical_device_to_handle(instance->physical_devices + i); in panvk_EnumeratePhysicalDevices()
467 panvk_physical_device_to_handle(instance->physical_devices + i); in panvk_EnumeratePhysicalDeviceGroups()
/third_party/mesa3d/src/freedreno/vulkan/
H A Dtu_device.h134 struct tu_physical_device physical_devices[TU_MAX_DRM_DEVICES]; member
H A Dtu_kgsl.c218 struct tu_physical_device *device = &instance->physical_devices[0]; in tu_enumerate_devices()
/third_party/glfw/tests/
H A Dtriangle-vulkan.c1732 VkPhysicalDevice *physical_devices = in demo_init_vk() local
1735 physical_devices); in demo_init_vk()
1738 demo->gpu = physical_devices[0]; in demo_init_vk()
1739 free(physical_devices); in demo_init_vk()
/third_party/mesa3d/src/microsoft/vulkan/
H A Ddzn_device.c166 &instance->physical_devices, link) { in dzn_instance_destroy()
199 list_inithead(&instance->physical_devices); in dzn_instance_create()
341 list_addtail(&pdev->link, &instance->physical_devices); in dzn_physical_device_create()
1038 list_for_each_entry(struct dzn_physical_device, pdev, &instance->physical_devices, link) { in dzn_EnumeratePhysicalDevices()

Completed in 44 milliseconds

12