Home
last modified time | relevance | path

Searched refs:physical_devices (Results 1 – 25 of 55) sorted by relevance

123

/third_party/vulkan-loader/tests/
Dloader_regression_tests.cpp298 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
334 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
338 driver.physical_devices.front().extensions.push_back(ext); in TEST()
364 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
368 driver.physical_devices.front().extensions.push_back(ext); in TEST()
417 driver.physical_devices.emplace_back("physical_device_0", 1); in TEST()
418 driver.physical_devices.emplace_back("physical_device_1", 2); in TEST()
419 driver.physical_devices.emplace_back("physical_device_2", 3); in TEST()
420 driver.physical_devices.emplace_back("physical_device_3", 4); in TEST()
425 uint32_t physical_count = static_cast<uint32_t>(driver.physical_devices.size()); in TEST()
[all …]
Dloader_phys_dev_inst_ext_tests.cpp63 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
77 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
93 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
94 …FillInRandomDeviceProps(env.get_test_icd(0).physical_devices.back().properties, VK_API_VERSION_1_0… in TEST()
130 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
131 …env.get_test_icd(0).physical_devices.back().extensions.push_back({VK_KHR_GET_PHYSICAL_DEVICE_PROPE… in TEST()
132 …FillInRandomDeviceProps(env.get_test_icd(0).physical_devices.back().properties, VK_API_VERSION_1_1… in TEST()
167 env.get_test_icd(0).physical_devices.push_back({}); in TEST()
168 …env.get_test_icd(0).physical_devices.back().extensions.push_back({VK_KHR_GET_PHYSICAL_DEVICE_PROPE… in TEST()
169 …FillInRandomDeviceProps(env.get_test_icd(0).physical_devices.back().properties, VK_API_VERSION_1_0… in TEST()
[all …]
Dloader_version_tests.cpp49 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
80 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
110 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
111 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
112 uint32_t physical_count = static_cast<uint32_t>(driver.physical_devices.size()); in TEST()
113 uint32_t returned_physical_count = static_cast<uint32_t>(driver.physical_devices.size()); in TEST()
141 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
142 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
192 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
193 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
[all …]
Dloader_handle_validation_tests.cpp46 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
62 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
76 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
94 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
113 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
137 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
160 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
183 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
206 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
229 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
[all …]
Dloader_alloc_callback_tests.cpp239 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
264 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
265 …driver.physical_devices[0].add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, 1}}, … in TEST()
312 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
313 …driver.physical_devices[0].add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, 1}}, … in TEST()
369 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
370 …driver.physical_devices[0].add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, 1}}, … in TEST()
483 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
484 …driver.physical_devices[0].add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, 1}}, … in TEST()
485 driver.physical_devices.emplace_back("physical_device_1"); in TEST()
[all …]
Dloader_threading_tests.cpp103 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
104 driver.physical_devices.back().known_device_functions.push_back( in TEST()
129 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
130 driver.physical_devices.back().known_device_functions.push_back( in TEST()
132 driver.physical_devices.back().known_device_functions.push_back( in TEST()
134 driver.physical_devices.back().known_device_functions.push_back( in TEST()
136 driver.physical_devices.back().known_device_functions.push_back( in TEST()
138 …driver.physical_devices.back().known_device_functions.push_back({"vkCmdDraw", to_vkVoidFunction(te… in TEST()
Dloader_envvar_tests.cpp110 env.get_test_icd(0).physical_devices.emplace_back("pd0"); in TEST()
125 env.get_test_icd(add + 1).physical_devices.emplace_back("pd" + std::to_string(add) + "0"); in TEST()
126 env.get_test_icd(add + 1).physical_devices.emplace_back("pd" + std::to_string(add) + "1"); in TEST()
159 env.get_test_icd().physical_devices.emplace_back("physical_device_0"); in TEST()
187 env.get_test_icd().physical_devices.push_back({}); in TEST()
209 env.get_test_icd(0).physical_devices.emplace_back("pd0"); in TEST()
239 env.get_test_icd(0).physical_devices.emplace_back("pd0"); in TEST()
240 env.get_test_icd(0).physical_devices.emplace_back("pd1"); in TEST()
243 env.get_test_icd(0).physical_devices.emplace_back("pd2"); in TEST()
263 env.get_test_icd().physical_devices.push_back({}); in TEST()
[all …]
Dloader_layer_tests.cpp208 env.get_test_icd().physical_devices.push_back({}); in TEST()
253 env.get_test_icd().physical_devices.push_back({}); in TEST()
1257 env.get_test_icd().physical_devices.push_back({}); in TEST()
1298 env.get_test_icd().physical_devices.push_back({}); in TEST()
1352 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
1353 driver.physical_devices.back().queue_family_properties.push_back(family_props); in TEST()
1402 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
1403 driver.physical_devices.back().queue_family_properties.push_back(family_props); in TEST()
1453 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
1454 driver.physical_devices.back().queue_family_properties.push_back(family_props); in TEST()
[all …]
Dloader_unknown_ext_tests.cpp351 driver.physical_devices.emplace_back("physical_device_0"); in TEST()
352 …fill_implementation_functions(driver.physical_devices.at(0).custom_physical_device_functions, func… in TEST()
377 driver_0.physical_devices.emplace_back("physical_device_0"); in TEST()
379 driver_0.physical_devices.back().set_properties(props); in TEST()
380 driver_1.physical_devices.emplace_back("physical_device_1"); in TEST()
382 driver_1.physical_devices.back().set_properties(props); in TEST()
385 …fill_implementation_functions(driver_0.physical_devices.at(0).custom_physical_device_functions, fu… in TEST()
387 …fill_implementation_functions(driver_1.physical_devices.at(0).custom_physical_device_functions, fu… in TEST()
424 driver_0.physical_devices.emplace_back("physical_device_0"); in TEST()
426 driver_0.physical_devices.back().set_properties(props); in TEST()
[all …]
Dloader_wsi_tests.cpp137 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
165 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
192 cur_icd.physical_devices.emplace_back(dev_name.c_str()); in TEST()
193 …cur_icd.physical_devices.back().add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, … in TEST()
326 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
354 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
381 cur_icd.physical_devices.emplace_back(dev_name.c_str()); in TEST()
382 …cur_icd.physical_devices.back().add_queue_family_properties({{VK_QUEUE_GRAPHICS_BIT, 1, 0, {1, 1, … in TEST()
515 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
543 cur_icd.physical_devices.emplace_back("physical_device_0"); in TEST()
[all …]
Dloader_get_proc_addr_tests.cpp34 env.get_test_icd().physical_devices.emplace_back("physical_device_0"); in TEST()
66 env.get_test_icd().physical_devices.emplace_back("physical_device_0"); in TEST()
94 env.get_test_icd().physical_devices.emplace_back("physical_device_0"); in TEST()
/third_party/mesa3d/src/vulkan/device-select-layer/
Ddevice_select_layer.c480 …VkPhysicalDevice *physical_devices = (VkPhysicalDevice*)calloc(sizeof(VkPhysicalDevice), physical… in device_select_EnumeratePhysicalDevices() local
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_… in device_select_EnumeratePhysicalDevices()
510 print_gpu(info, i, physical_devices[i]); in device_select_EnumeratePhysicalDevices()
513 …gned 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()
/third_party/vulkan-loader/tests/framework/icd/
Dtest_icd.h73 BUILDER_VECTOR_MOVE_ONLY(TestICD, PhysicalDevice, physical_devices, physical_device);
99 for (auto& phys_dev : physical_devices) { in GetPhysDevice()
103 return physical_devices[0]; in GetPhysDevice()
Dphysical_device.h86 PhysicalDeviceGroup(std::vector<PhysicalDevice*> const& physical_devices) { in PhysicalDeviceGroup()
87 …l_device_handles.insert(physical_device_handles.end(), physical_devices.begin(), physical_devices.… in PhysicalDeviceGroup()
Dtest_icd.cpp86 for (auto& phys_dev : icd.physical_devices) { in IsPhysicalDeviceExtensionAvailable()
208 *pPhysicalDeviceCount = static_cast<uint32_t>(icd.physical_devices.size()); in test_vkEnumeratePhysicalDevices()
211 for (size_t i = 0; i < icd.physical_devices.size(); i++) { in test_vkEnumeratePhysicalDevices()
214 pPhysicalDevices[i] = icd.physical_devices[i].vk_physical_device.handle; in test_vkEnumeratePhysicalDevices()
232 *pPhysicalDeviceGroupCount = static_cast<uint32_t>(icd.physical_devices.size()); in test_vkEnumeratePhysicalDeviceGroups()
250 group_count = static_cast<uint32_t>(icd.physical_devices.size()); in test_vkEnumeratePhysicalDeviceGroups()
251 … for (size_t device_group = 0; device_group < icd.physical_devices.size(); device_group++) { in test_vkEnumeratePhysicalDeviceGroups()
260 icd.physical_devices[device_group].vk_physical_device.handle; in test_vkEnumeratePhysicalDeviceGroups()
362 …auto found = std::find_if(icd.physical_devices.begin(), icd.physical_devices.end(), [physicalDevic… in test_vkCreateDevice()
365 if (found == icd.physical_devices.end()) return VK_ERROR_INITIALIZATION_FAILED; in test_vkCreateDevice()
[all …]
/third_party/flutter/engine/flutter/vulkan/
Dvulkan_application.cc202 std::vector<VkPhysicalDevice> physical_devices; in GetPhysicalDevices() local
204 physical_devices.resize(device_count); in GetPhysicalDevices()
207 instance_, &device_count, physical_devices.data())) != VK_SUCCESS) { in GetPhysicalDevices()
216 return physical_devices; in GetPhysicalDevices()
/third_party/vulkan-loader/tests/framework/
Dtest_environment.cpp61 std::vector<VkPhysicalDevice> physical_devices; in GetPhysDevs() local
62 physical_devices.resize(phys_dev_count); in GetPhysDevs()
63 …VkResult res = functions->vkEnumeratePhysicalDevices(inst, &physical_count, physical_devices.data(… in GetPhysDevs()
65 return physical_devices; in GetPhysDevs()
71 std::vector<VkPhysicalDevice> physical_devices; in GetPhysDevs() local
72 physical_devices.resize(physical_count); in GetPhysDevs()
73 res = functions->vkEnumeratePhysicalDevices(inst, &physical_count, physical_devices.data()); in GetPhysDevs()
75 return physical_devices; in GetPhysDevs()
/third_party/vulkan-loader/loader/
Dloader_windows.c839 sorted_array[*sorted_devices_count].physical_devices = NULL; in windows_read_sorted_physical_devices()
865 sorted_array[*sorted_devices_count].physical_devices = in windows_read_sorted_physical_devices()
866 … loader_instance_heap_realloc(inst, sorted_array[*sorted_devices_count].physical_devices, in windows_read_sorted_physical_devices()
869 if (sorted_array[*sorted_devices_count].physical_devices == NULL) { in windows_read_sorted_physical_devices()
876 … sorted_array[*sorted_devices_count].physical_devices)) == VK_INCOMPLETE); in windows_read_sorted_physical_devices()
880 … loader_instance_heap_free(inst, sorted_array[*sorted_devices_count].physical_devices); in windows_read_sorted_physical_devices()
881 sorted_array[*sorted_devices_count].physical_devices = NULL; in windows_read_sorted_physical_devices()
930 if (icd_sorted_list->physical_devices[dev] == group_props->physicalDevices[grp_dev]) { in windows_sort_devices_in_group()
968 sorted_phys_dev_array[icd].physical_devices[dev]) { in windows_sort_physical_device_groups()
/third_party/vk-gl-cts/external/amber/src/samples/
Dconfig_helper_vulkan.cc895 std::vector<VkPhysicalDevice> physical_devices; in ChooseVulkanPhysicalDevice() local
902 physical_devices.resize(count); in ChooseVulkanPhysicalDevice()
904 physical_devices.data()) != VK_SUCCESS) { in ChooseVulkanPhysicalDevice()
915 physical_devices[deviceID], required_features, required_extensions); in ChooseVulkanPhysicalDevice()
918 vulkan_physical_device_ = physical_devices[deviceID]; in ChooseVulkanPhysicalDevice()
923 physical_devices[i], required_features, required_extensions); in ChooseVulkanPhysicalDevice()
926 vulkan_physical_device_ = physical_devices[i]; in ChooseVulkanPhysicalDevice()
/third_party/vk-gl-cts/android/cts/master/vk-master-2019-03-01/
Dinfo.txt5 dEQP-VK.info.physical_devices
/third_party/vk-gl-cts/android/cts/main/vk-master-2019-03-01/
Dinfo.txt5 dEQP-VK.info.physical_devices
/third_party/vk-gl-cts/android/cts/main/vksc-master/
Dinfo.txt5 dEQP-VKSC.info.physical_devices
/third_party/vk-gl-cts/android/cts/master/vk-incremental-deqp/
Dinfo.txt5 dEQP-VK.info.physical_devices
/third_party/vk-gl-cts/android/cts/master/vk-master/
Dinfo.txt5 dEQP-VK.info.physical_devices
/third_party/vk-gl-cts/android/cts/main/vk-incremental-deqp/
Dinfo.txt5 dEQP-VK.info.physical_devices

123