Lines Matching refs:physical_devices

104     driver.physical_devices.emplace_back("physical_device_1");
105 driver.physical_devices.emplace_back("physical_device_0");
106 uint32_t physical_count = static_cast<uint32_t>(driver.physical_devices.size());
107 uint32_t returned_physical_count = static_cast<uint32_t>(driver.physical_devices.size());
135 driver.physical_devices.emplace_back("physical_device_1");
136 driver.physical_devices.emplace_back("physical_device_0");
186 driver.physical_devices.emplace_back("physical_device_1");
187 driver.physical_devices.emplace_back("physical_device_0");
188 uint32_t physical_count = static_cast<uint32_t>(driver.physical_devices.size());
189 uint32_t returned_physical_count = static_cast<uint32_t>(driver.physical_devices.size());
215 for (const auto& dev_name : physical_device_names) driver.physical_devices.push_back(dev_name);
260 driver.physical_devices.push_back(dev_name);
263 driver.physical_device_groups.emplace_back(driver.physical_devices[0]).use_physical_device(driver.physical_devices[1]);
264 driver.physical_device_groups.emplace_back(driver.physical_devices[2]);
265 driver.physical_device_groups.emplace_back(driver.physical_devices[3]).use_physical_device(driver.physical_devices[4]);
333 env.get_test_icd(0).physical_devices.emplace_back("physical_device_0");
334 env.get_test_icd(1).physical_devices.emplace_back("physical_device_1");
335 env.get_test_icd(2).physical_devices.emplace_back("physical_device_2");
337 env.get_test_icd(0).physical_devices.at(0).properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU;
338 env.get_test_icd(1).physical_devices.at(0).properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU;
339 env.get_test_icd(2).physical_devices.at(0).properties.deviceType = VK_PHYSICAL_DEVICE_TYPE_CPU;
341 copy_string_to_char_array("dev0", env.get_test_icd(0).physical_devices.at(0).properties.deviceName, VK_MAX_EXTENSION_NAME_SIZE);
342 copy_string_to_char_array("dev1", env.get_test_icd(1).physical_devices.at(0).properties.deviceName, VK_MAX_EXTENSION_NAME_SIZE);
343 copy_string_to_char_array("dev2", env.get_test_icd(2).physical_devices.at(0).properties.deviceName, VK_MAX_EXTENSION_NAME_SIZE);
352 ASSERT_EQ(env.get_test_icd(0).physical_devices.at(0).properties.deviceType, VK_PHYSICAL_DEVICE_TYPE_DISCRETE_GPU);
353 ASSERT_EQ(env.get_test_icd(1).physical_devices.at(0).properties.deviceType, VK_PHYSICAL_DEVICE_TYPE_INTEGRATED_GPU);
354 ASSERT_EQ(env.get_test_icd(2).physical_devices.at(0).properties.deviceType, VK_PHYSICAL_DEVICE_TYPE_CPU);
364 icd0.physical_devices.emplace_back("physical_device_0");
368 icd1.physical_devices.emplace_back("physical_device_1");
391 icd0.physical_devices.emplace_back("physical_device_0");
396 icd1.physical_devices.emplace_back("physical_device_1");
397 icd1.physical_devices.emplace_back("physical_device_2");
402 icd2.physical_devices.emplace_back("physical_device_3");
429 icd0.physical_devices.emplace_back("physical_device_0");
436 icd1.physical_devices.emplace_back("physical_device_1").set_api_version(VK_API_VERSION_1_1);
437 icd1.physical_devices.emplace_back("physical_device_2").set_api_version(VK_API_VERSION_1_1);
438 icd1.physical_device_groups.emplace_back(icd1.physical_devices[0]);
439 icd1.physical_device_groups.back().use_physical_device(icd1.physical_devices[1]);
446 icd2.physical_devices.emplace_back("physical_device_3");
447 icd2.physical_devices.emplace_back("physical_device_4");
448 icd2.physical_devices.emplace_back("physical_device_5");
492 driver_5.physical_devices.push_back({});
493 driver_5.physical_devices.back().queue_family_properties.push_back(family_props);
494 driver_5.physical_devices.push_back({});
495 driver_5.physical_devices.back().queue_family_properties.push_back(family_props);
496 driver_5.physical_devices.push_back({});
497 driver_5.physical_devices.back().queue_family_properties.push_back(family_props);
498 physical_count += static_cast<uint32_t>(driver_5.physical_devices.size());
502 driver_6.physical_devices.emplace_back("physical_device_0");
503 driver_6.physical_devices.back().queue_family_properties.push_back(family_props);
504 driver_6.physical_devices.emplace_back("physical_device_1");
505 driver_6.physical_devices.back().queue_family_properties.push_back(family_props);
506 physical_count += static_cast<uint32_t>(driver_6.physical_devices.size());
593 driver.physical_devices.back().known_device_functions = {
632 driver.physical_devices.back().add_extension({"VK_SOME_EXT_haha"});
940 direct_driver_icd.physical_devices.push_back({});
941 direct_driver_icd.physical_devices.at(0).properties.driverVersion = driver.driver_version;
953 direct_driver_icd.physical_devices.push_back({});
954 direct_driver_icd.physical_devices.at(0).properties.driverVersion = driver.driver_version;
1151 direct_driver_icd.physical_devices.push_back({});