• Home
  • Raw
  • Download

Lines Matching full:env

32 std::string get_settings_location_log_message([[maybe_unused]] FrameworkEnvironment const& env,  in get_settings_location_log_message()  argument
36 …return s + (env.get_folder(ManifestLocation::settings_location).location() / "vk_loader_settings.j… in get_settings_location_log_message()
49 const char* add_layer_and_settings(FrameworkEnvironment& env, const char* layer_name, LayerType lay… in add_layer_and_settings() argument
51 env.add_implicit_layer( in add_layer_and_settings()
55 … .set_disable_environment("BADGER" + std::to_string(env.layers.size()))), in add_layer_and_settings()
56 std::string(layer_name) + std::to_string(env.layers.size()) + ".json"); in add_layer_and_settings()
58 env.add_implicit_layer( in add_layer_and_settings()
62 … .set_disable_environment("BADGER" + std::to_string(env.layers.size())) in add_layer_and_settings()
63 … .set_enable_environment("MUSHROOM" + std::to_string(env.layers.size()))), in add_layer_and_settings()
64 std::string(layer_name) + std::to_string(env.layers.size()) + ".json"); in add_layer_and_settings()
66 env.add_explicit_layer(TestLayerDetails{ in add_layer_and_settings()
69 std::string(layer_name) + std::to_string(env.layers.size()) + ".json"}); in add_layer_and_settings()
73 env.loader_settings.app_specific_settings.back().add_layer_configuration( in add_layer_and_settings()
78 .set_path(env.get_shimmed_layer_manifest_path(env.layers.size() - 1))); in add_layer_and_settings()
84 FrameworkEnvironment env{}; in TEST() local
85 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
86env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all")); in TEST()
87 …const char* regular_layer_name = add_layer_and_settings(env, "VK_LAYER_TestLayer_0", LayerType::ex… in TEST()
88 env.update_loader_settings(env.loader_settings); in TEST()
90 auto layer_props = env.GetLayerProperties(1); in TEST()
93 InstWrapper inst{env.vulkan_functions}; in TEST()
94 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
97 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
105 FrameworkEnvironment env{}; in TEST() local
106 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
108 env.add_explicit_layer(TestLayerDetails{ in TEST()
113env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
116 … .set_path(env.get_layer_manifest_path()) in TEST()
119 auto layer_props = env.GetLayerProperties(1); in TEST()
122 InstWrapper inst{env.vulkan_functions}; in TEST()
123 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
126 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
127 env.debug_log.clear(); in TEST()
131 env.platform_shim->set_elevated_privilege(true); in TEST()
133 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
135 InstWrapper inst{env.vulkan_functions}; in TEST()
136 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
139 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
145 FrameworkEnvironment env{FrameworkSettings{}.set_secure_loader_settings(true)}; in TEST() local
146 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
147 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
149 env.add_explicit_layer(TestLayerDetails{ in TEST()
154env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
157 … .set_path(env.get_layer_manifest_path()) in TEST()
160 auto layer_props = env.GetLayerProperties(1); in TEST()
163 InstWrapper inst{env.vulkan_functions}; in TEST()
164 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
167 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env, true))); in TEST()
168 env.debug_log.clear(); in TEST()
172 env.platform_shim->set_elevated_privilege(true); in TEST()
174 auto layer_props = env.GetLayerProperties(1); in TEST()
177 InstWrapper inst{env.vulkan_functions}; in TEST()
178 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
181 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env, true))); in TEST()
182 env.debug_log.clear(); in TEST()
190 FrameworkEnvironment env{}; in TEST() local
192 env.add_explicit_layer(TestLayerDetails{ in TEST()
198 env.add_explicit_layer(TestLayerDetails{ in TEST()
203 env.update_loader_settings( in TEST()
204 env.loader_settings in TEST()
210 … .set_path(env.get_layer_manifest_path(0)) in TEST()
229 .set_path(env.get_layer_manifest_path(1)) in TEST()
231 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
233 auto layer_props = env.GetLayerProperties(1); in TEST()
237 InstWrapper inst{env.vulkan_functions}; in TEST()
238 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
240 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
244 env.debug_log.clear(); in TEST()
246 env.loader_settings.app_specific_settings.at(0).add_app_key(test_platform_executable_path()); in TEST()
247 env.update_loader_settings(env.loader_settings); in TEST()
249 auto layer_props = env.GetLayerProperties(1); in TEST()
252 InstWrapper inst{env.vulkan_functions}; in TEST()
253 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
255 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
263 FrameworkEnvironment env{}; in TEST() local
264 env.loader_settings.set_file_format_version({1, 0, 0}); in TEST()
265 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
268 env.add_explicit_layer( in TEST()
274 env.update_loader_settings( in TEST()
275env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
276 …LoaderSettingsLayerConfiguration{}.set_name(layer_name).set_path(env.get_layer_manifest_path(0)).s… in TEST()
277 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
280 auto layer_props = env.GetLayerProperties(1); in TEST()
283 InstWrapper inst{env.vulkan_functions}; in TEST()
284 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
286 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
290 env.debug_log.clear(); in TEST()
294 auto layer_props = env.GetLayerProperties(1); in TEST()
296 InstWrapper inst{env.vulkan_functions}; in TEST()
297 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
299 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
307 FrameworkEnvironment env{}; in TEST() local
308 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
310 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
316env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
320 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
324 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
325 InstWrapper inst{env.vulkan_functions}; in TEST()
326 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
329 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
336 FrameworkEnvironment env{}; in TEST() local
337 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
339 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
345 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
352 auto layer_props = env.GetLayerProperties(2); in TEST()
356 InstWrapper inst{env.vulkan_functions}; in TEST()
357 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
359 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
365 env.update_loader_settings( in TEST()
370 … .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
375 … .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
379 auto layer_props = env.GetLayerProperties(2); in TEST()
383 InstWrapper inst{env.vulkan_functions}; in TEST()
384 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
386 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
392 // Flip the order and store the settings in the env for later use in the test in TEST()
393 env.loader_settings = in TEST()
398 … .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
403 … .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
406 env.update_loader_settings(env.loader_settings); in TEST()
409 auto layer_props = env.GetLayerProperties(2); in TEST()
413 InstWrapper inst{env.vulkan_functions}; in TEST()
414 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
416 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
424 env.add_explicit_layer( in TEST()
428 env.loader_settings.app_specific_settings.at(0).layer_configurations.insert( in TEST()
429 env.loader_settings.app_specific_settings.at(0).layer_configurations.begin() + 1, in TEST()
432 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
434 env.update_loader_settings(env.loader_settings); in TEST()
436 auto layer_props = env.GetLayerProperties(3); in TEST()
441 InstWrapper inst{env.vulkan_functions}; in TEST()
442 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
444 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
454 FrameworkEnvironment env{}; in TEST() local
455 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
457 env.add_explicit_layer( in TEST()
462env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
466 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
469 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
470 InstWrapper inst{env.vulkan_functions}; in TEST()
477 FrameworkEnvironment env{}; in TEST() local
478 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
480 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
494 env.write_settings_file(writer.output); in TEST()
496 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
498 InstWrapper inst{env.vulkan_functions}; in TEST()
499 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
501 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
507 FrameworkEnvironment env{}; in TEST() local
508 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
510 env.add_explicit_layer( in TEST()
515 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
520 auto check_integrity = [&env, explicit_layer_name, implicit_layer_name]() { in TEST()
521 auto layer_props = env.GetLayerProperties(2); in TEST()
524 InstWrapper inst{env.vulkan_functions}; in TEST()
525 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
528 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
539 env.write_settings_file(fuzzer_output_json.str()); in TEST()
550 env.write_settings_file(writer.output); in TEST()
564 env.write_settings_file(writer.output); in TEST()
581 env.write_settings_file(writer.output); in TEST()
589 FrameworkEnvironment env{}; in TEST() local
590 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
592 env.add_explicit_layer( in TEST()
597 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
603 env.add_explicit_layer( in TEST()
608 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
614env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
619 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
624 .set_path(env.get_shimmed_layer_manifest_path(3)) in TEST()
628 auto layer_props = env.GetLayerProperties(4); in TEST()
633 InstWrapper inst{env.vulkan_functions}; in TEST()
634 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
637 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
647 FrameworkEnvironment env{}; in TEST() local
648 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
651 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
657 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
663env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
668 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
672 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
674 auto layer_props = env.GetLayerProperties(2); in TEST()
679 InstWrapper inst{env.vulkan_functions}; in TEST()
680 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
682 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
692 FrameworkEnvironment env{}; in TEST() local
693 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
696 env.add_explicit_layer( in TEST()
701env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
706 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
710 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
713 auto layer_props = env.GetLayerProperties(1); in TEST()
716 InstWrapper inst{env.vulkan_functions}; in TEST()
717 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
719 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
727 FrameworkEnvironment env{}; in TEST() local
728 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
732 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
738 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
744env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
748 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
751 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
753 InstWrapper inst{env.vulkan_functions}; in TEST()
754 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
756 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
762 FrameworkEnvironment env{}; in TEST() local
763 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
766 env.add_explicit_layer( in TEST()
772 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
780 env.add_explicit_layer(TestLayerDetails( in TEST()
786env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
793 env.add_explicit_layer(TestLayerDetails( in TEST()
797env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
802 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
808 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
813 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
818 .set_path(env.get_shimmed_layer_manifest_path(3)) in TEST()
823 .set_path(env.get_shimmed_layer_manifest_path(4)) in TEST()
827 auto layer_props = env.GetLayerProperties(5); in TEST()
834 InstWrapper inst{env.vulkan_functions}; in TEST()
835 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
837 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
843 auto layer_props = env.GetLayerProperties(5); in TEST()
850 InstWrapper inst{env.vulkan_functions}; in TEST()
851 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
853 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
860 auto layer_props = env.GetLayerProperties(5); in TEST()
867 InstWrapper inst{env.vulkan_functions}; in TEST()
868 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
870 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
879 FrameworkEnvironment env{}; in TEST() local
880 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
883 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
889 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
897env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
903env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
909 env.add_implicit_layer( in TEST()
918 env.add_implicit_layer( in TEST()
926env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
931 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
937 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
942 auto layer_props = env.GetLayerProperties(6); in TEST()
950 InstWrapper inst{env.vulkan_functions}; in TEST()
951 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
953 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
963 auto layer_props = env.GetLayerProperties(6); in TEST()
971 InstWrapper inst{env.vulkan_functions}; in TEST()
972 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
974 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
986 FrameworkEnvironment env{}; in TEST() local
987 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
990 env.add_explicit_layer( in TEST()
996 env.add_explicit_layer( in TEST()
1002 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1009 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1015env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all")); in TEST()
1020 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
1025 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
1030 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
1035 .set_path(env.get_shimmed_layer_manifest_path(3)) in TEST()
1042 env.loader_settings.app_specific_settings.at(0).layer_configurations.clear(); in TEST()
1043 env.loader_settings.app_specific_settings.at(0).add_layer_configurations(layer_configs); in TEST()
1044 env.update_loader_settings(env.loader_settings); in TEST()
1046 auto layer_props = env.GetLayerProperties(4); in TEST()
1051 InstWrapper inst{env.vulkan_functions}; in TEST()
1052 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1054 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1059 env.debug_log.clear(); in TEST()
1066 FrameworkEnvironment env{}; in TEST() local
1067 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1070 env.add_explicit_layer(TestLayerDetails{ in TEST()
1077 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1083 env.add_explicit_layer(TestLayerDetails{ in TEST()
1089 auto layer_props = env.GetLayerProperties(2); in TEST()
1093 InstWrapper inst{env.vulkan_functions}; in TEST()
1094 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1096 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1101 InstWrapper inst{env.vulkan_functions}; in TEST()
1102 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1105 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1110 env.update_loader_settings(env.loader_settings.add_app_specific_setting( in TEST()
1116 .set_path(env.get_shimmed_layer_manifest_path(2))) in TEST()
1119 auto layer_props = env.GetLayerProperties(3); in TEST()
1124 InstWrapper inst{env.vulkan_functions}; in TEST()
1125 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1127 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1133 InstWrapper inst{env.vulkan_functions}; in TEST()
1134 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1137 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1146 FrameworkEnvironment env{}; in TEST() local
1147 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1150 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1156 env.add_explicit_layer(TestLayerDetails{ in TEST()
1162 env.add_explicit_layer(TestLayerDetails{ in TEST()
1168 auto layer_props = env.GetLayerProperties(3); in TEST()
1173 InstWrapper inst{env.vulkan_functions}; in TEST()
1174 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1176 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1181 InstWrapper inst{env.vulkan_functions}; in TEST()
1182 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1185 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1191 env.update_loader_settings(env.loader_settings.add_app_specific_setting( in TEST()
1197 .set_path(env.get_shimmed_layer_manifest_path(1))) in TEST()
1201 .set_path(env.get_shimmed_layer_manifest_path(2))) in TEST()
1205 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
1208 auto layer_props = env.GetLayerProperties(3); in TEST()
1213 InstWrapper inst{env.vulkan_functions}; in TEST()
1214 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1216 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1223 InstWrapper inst{env.vulkan_functions}; in TEST()
1224 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1227 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1236 FrameworkEnvironment env{}; in TEST() local
1237 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1240 env.add_explicit_layer(TestLayerDetails{ in TEST()
1247 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1253env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1260 auto layer_props = env.GetLayerProperties(3); in TEST()
1265 InstWrapper inst{env.vulkan_functions}; in TEST()
1266 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1268 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1274 InstWrapper inst{env.vulkan_functions}; in TEST()
1275 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1278 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1284 env.update_loader_settings(env.loader_settings.add_app_specific_setting( in TEST()
1290 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
1294 auto layer_props = env.GetLayerProperties(3); in TEST()
1299 InstWrapper inst{env.vulkan_functions}; in TEST()
1300 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1302 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1308 InstWrapper inst{env.vulkan_functions}; in TEST()
1309 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1312 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1321 FrameworkEnvironment env{}; in TEST() local
1322 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1325 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1331 env.add_explicit_layer(TestLayerDetails{ in TEST()
1337env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1344 auto layer_props = env.GetLayerProperties(3); in TEST()
1349 InstWrapper inst{env.vulkan_functions}; in TEST()
1350 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1352 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1358 InstWrapper inst{env.vulkan_functions}; in TEST()
1359 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1362 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1369 env.update_loader_settings(env.loader_settings.add_app_specific_setting( in TEST()
1375 .set_path(env.get_shimmed_layer_manifest_path(1))) in TEST()
1379 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
1384 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
1387 auto layer_props = env.GetLayerProperties(3); in TEST()
1392 InstWrapper inst{env.vulkan_functions}; in TEST()
1393 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1395 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1402 InstWrapper inst{env.vulkan_functions}; in TEST()
1403 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1406 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1415 FrameworkEnvironment env{}; in TEST() local
1416 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1419 env.add_explicit_layer(TestLayerDetails{ in TEST()
1425 env.add_explicit_layer(TestLayerDetails{ in TEST()
1432 auto layer_props = env.GetLayerProperties(2); in TEST()
1436 InstWrapper inst{env.vulkan_functions}; in TEST()
1437 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1439 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1443 env.update_loader_settings(env.loader_settings.add_app_specific_setting( in TEST()
1449 .set_path(env.get_shimmed_layer_manifest_path(0))) in TEST()
1453 .set_path(env.get_shimmed_layer_manifest_path(1))))); in TEST()
1455 auto layer_props = env.GetLayerProperties(1); in TEST()
1458 InstWrapper inst{env.vulkan_functions}; in TEST()
1459 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1461 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1466 auto layer_props = env.GetLayerProperties(1); in TEST()
1469 InstWrapper inst{env.vulkan_functions}; in TEST()
1470 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1472 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1475 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).control = "auto"; in TEST()
1476 env.update_loader_settings(env.loader_settings); in TEST()
1478 auto layer_props = env.GetLayerProperties(2); in TEST()
1482 InstWrapper inst{env.vulkan_functions}; in TEST()
1483 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1485 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1489 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).control = "on"; in TEST()
1490 env.update_loader_settings(env.loader_settings); in TEST()
1492 auto layer_props = env.GetLayerProperties(2); in TEST()
1496 InstWrapper inst{env.vulkan_functions}; in TEST()
1504 FrameworkEnvironment env{}; in TEST() local
1505 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1508 env.add_explicit_layer(TestLayerDetails{ in TEST()
1514 env.add_explicit_layer(TestLayerDetails{ in TEST()
1520 env.add_explicit_layer(TestLayerDetails{ in TEST()
1529 auto layer_props = env.GetLayerProperties(3); in TEST()
1534 InstWrapper inst{env.vulkan_functions}; in TEST()
1535 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1537 ASSERT_FALSE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1542env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
1546 .set_path(env.get_shimmed_layer_manifest_path(0)), in TEST()
1550 .set_path(env.get_shimmed_layer_manifest_path(1)), in TEST()
1554 .set_path(env.get_shimmed_layer_manifest_path(2))})); in TEST()
1555 env.update_loader_settings(env.loader_settings); in TEST()
1557 auto layer_props = env.GetLayerProperties(1); in TEST()
1560 InstWrapper inst{env.vulkan_functions}; in TEST()
1561 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1563 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1566 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).control = "auto"; in TEST()
1567 env.update_loader_settings(env.loader_settings); in TEST()
1569 auto layer_props = env.GetLayerProperties(2); in TEST()
1573 InstWrapper inst{env.vulkan_functions}; in TEST()
1574 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1576 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1580 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).control = "on"; in TEST()
1581 env.update_loader_settings(env.loader_settings); in TEST()
1583 auto layer_props = env.GetLayerProperties(2); in TEST()
1587 InstWrapper inst{env.vulkan_functions}; in TEST()
1592 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).control = "off"; in TEST()
1593 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).control = "auto"; in TEST()
1594 env.update_loader_settings(env.loader_settings); in TEST()
1596 auto layer_props = env.GetLayerProperties(2); in TEST()
1600 InstWrapper inst{env.vulkan_functions}; in TEST()
1601 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1603 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1607 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).control = "on"; in TEST()
1608 env.update_loader_settings(env.loader_settings); in TEST()
1610 auto layer_props = env.GetLayerProperties(2); in TEST()
1614 InstWrapper inst{env.vulkan_functions}; in TEST()
1619 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).control = "auto"; in TEST()
1620 env.update_loader_settings(env.loader_settings); in TEST()
1622 auto layer_props = env.GetLayerProperties(2); in TEST()
1626 InstWrapper inst{env.vulkan_functions}; in TEST()
1631 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).control = "on"; in TEST()
1632 env.update_loader_settings(env.loader_settings); in TEST()
1634 auto layer_props = env.GetLayerProperties(3); in TEST()
1639 InstWrapper inst{env.vulkan_functions}; in TEST()
1649 FrameworkEnvironment env{}; in TEST() local
1650 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1652env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all")); in TEST()
1653 …const char* explicit_layer_name = add_layer_and_settings(env, "VK_LAYER_Regular_TestLayer1", Layer… in TEST()
1654 env.update_loader_settings(env.loader_settings); in TEST()
1657 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
1659 InstWrapper inst{env.vulkan_functions}; in TEST()
1660 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1662 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1667 FrameworkEnvironment env{}; in TEST() local
1668 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1669env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all")); in TEST()
1671 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_alpha", LayerType::imp, "auto")); in TEST()
1672 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_bravo", LayerType::imp, "auto")); in TEST()
1673 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_charlie", LayerType::imp, "auto")); in TEST()
1674 env.loader_settings.app_specific_settings.back().add_layer_configuration( in TEST()
1676 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_delta", LayerType::exp, "auto")); in TEST()
1677 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_echo", LayerType::exp, "auto")); in TEST()
1678 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_foxtrot", LayerType::exp, "auto")); in TEST()
1679 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_gamma", LayerType::exp, "auto")); in TEST()
1680 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_indigo", LayerType::exp, "auto")); in TEST()
1681 … auto disable_layer_name = add_layer_and_settings(env, "VK_LAYER_juniper", LayerType::exp, "off"); in TEST()
1682 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_kangaroo", LayerType::exp, "on")); in TEST()
1683 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_lima", LayerType::exp, "auto")); in TEST()
1684 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_mango", LayerType::exp, "auto")); in TEST()
1686 env.update_loader_settings(env.loader_settings); in TEST()
1689 auto layer_props = env.GetLayerProperties(11); in TEST()
1693 InstWrapper inst{env.vulkan_functions}; in TEST()
1703 auto layer_props = env.GetLayerProperties(11); in TEST()
1707 InstWrapper inst{env.vulkan_functions}; in TEST()
1716 auto layer_props = env.GetLayerProperties(11); in TEST()
1720 InstWrapper inst{env.vulkan_functions}; in TEST()
1728 FrameworkEnvironment env{}; in TEST() local
1729 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1732 env.add_explicit_layer(TestLayerDetails{ in TEST()
1737 env.update_loader_settings( in TEST()
1738env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
1742 .set_path(env.get_shimmed_layer_manifest_path(0))))); in TEST()
1745 auto layer_props = env.GetLayerProperties(1); in TEST()
1748 InstWrapper inst{env.vulkan_functions}; in TEST()
1749 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1751 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1758 FrameworkEnvironment env{}; in TEST() local
1759 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1760 env.platform_shim->add_unsecured_manifest(ManifestCategory::settings, "jank_path"); in TEST()
1761 env.platform_shim->add_unsecured_manifest(ManifestCategory::settings, "jank_path2"); in TEST()
1764 env.add_explicit_layer(TestLayerDetails{ in TEST()
1769env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
1772 … .set_path(env.get_layer_manifest_path()) in TEST()
1774 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
1776 auto layer_props = env.GetLayerProperties(1); in TEST()
1779 InstWrapper inst{env.vulkan_functions}; in TEST()
1780 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1783 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1789 FrameworkEnvironment env{FrameworkSettings{}.set_secure_loader_settings(true)}; in TEST() local
1790 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
1791 env.platform_shim->add_manifest(ManifestCategory::settings, "jank_path"); in TEST()
1792 env.platform_shim->add_manifest(ManifestCategory::settings, "jank_path2"); in TEST()
1795 env.add_explicit_layer(TestLayerDetails{ in TEST()
1800env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
1803 … .set_path(env.get_layer_manifest_path()) in TEST()
1805 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
1808 env.platform_shim->set_elevated_privilege(true); in TEST()
1809 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)); in TEST()
1811 auto layer_props = env.GetLayerProperties(1); in TEST()
1814 InstWrapper inst{env.vulkan_functions}; in TEST()
1815 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1818 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
1827 FrameworkEnvironment env; in TEST() local
1828 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1832 env.add_implicit_layer( in TEST()
1849env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
1853 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
1855 env.update_loader_settings(env.loader_settings); in TEST()
1857 auto& layer = env.get_test_layer(0); in TEST()
1863 … ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
1870 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
1878 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
1882 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
1883 env.update_loader_settings(env.loader_settings); in TEST()
1886 auto& layer = env.get_test_layer(0); in TEST()
1892 … ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
1899 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
1907 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
1912 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
1913 env.update_loader_settings(env.loader_settings); in TEST()
1916 auto& layer = env.get_test_layer(0); in TEST()
1922 … ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
1929 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
1937 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
1945 FrameworkEnvironment env; in TEST() local
1946 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1949 env.add_explicit_layer( in TEST()
1955 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1961env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
1964 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
1969 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
1973 …auto check_log_for_insert_instance_layer_string = [&env, implicit_layer_name](bool check_for_enabl… in TEST()
1975 InstWrapper inst{env.vulkan_functions}; in TEST()
1976 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1979 … ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in TEST()
1983 … ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in TEST()
1987 env.debug_log.clear(); in TEST()
1991 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).set_control("on"); in TEST()
1992 env.update_loader_settings(env.loader_settings); in TEST()
1997 auto layers = env.GetLayerProperties(2); in TEST()
2023 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).set_control("off"); in TEST()
2024 env.update_loader_settings(env.loader_settings); in TEST()
2029 auto layers = env.GetLayerProperties(1); in TEST()
2054 env.loader_settings.app_specific_settings.at(0).layer_configurations.at(1).set_control("auto"); in TEST()
2055 env.update_loader_settings(env.loader_settings); in TEST()
2060 auto layers = env.GetLayerProperties(2); in TEST()
2087 FrameworkEnvironment env{}; in TEST() local
2088 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
2089env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all")); in TEST()
2092 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_alpha", LayerType::imp, "auto")); in TEST()
2093 …layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_bravo", LayerType::imp_with_enable_env… in TEST()
2094 …layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_charlie", LayerType::imp_with_enable_e… in TEST()
2095 …layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_delta", LayerType::imp_with_enable_env… in TEST()
2097 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_echo", LayerType::exp, "auto")); in TEST()
2098 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_foxtrot", LayerType::exp, "auto")); in TEST()
2099 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_gamma", LayerType::exp, "auto")); in TEST()
2100 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_indigo", LayerType::exp, "auto")); in TEST()
2101 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_juniper", LayerType::exp, "auto")); in TEST()
2103 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_kangaroo", LayerType::exp, "on")); in TEST()
2105 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_lima", LayerType::exp, "auto")); in TEST()
2106 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_mango", LayerType::exp, "auto")); in TEST()
2107 layer_names.push_back(add_layer_and_settings(env, "VK_LAYER_niagara", LayerType::exp, "auto")); in TEST()
2109 env.update_loader_settings(env.loader_settings); in TEST()
2111 auto layer_props = env.GetLayerProperties(13); in TEST()
2115 InstWrapper inst{env.vulkan_functions}; in TEST()
2124 auto layer_props = env.GetLayerProperties(13); in TEST()
2128 InstWrapper inst{env.vulkan_functions}; in TEST()
2137 auto layer_props = env.GetLayerProperties(13); in TEST()
2141 InstWrapper inst{env.vulkan_functions}; in TEST()
2149 FrameworkEnvironment env; in TEST() local
2150 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
2153 env.add_implicit_layer( in TEST()
2164 env.update_loader_settings( in TEST()
2165env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
2168 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2173 auto& layer = env.get_test_layer(0); in TEST()
2177 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
2182 FrameworkEnvironment env; in TEST() local
2183 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
2186 env.add_implicit_layer( in TEST()
2198 env.update_loader_settings( in TEST()
2199env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
2202 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2207 auto& layer = env.get_test_layer(0); in TEST()
2211 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
2214 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, layers.data(… in TEST()
2220 FrameworkEnvironment env; in TEST() local
2221 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
2224 env.add_implicit_layer( in TEST()
2235 env.update_loader_settings( in TEST()
2236env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
2239 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2244 auto& layer = env.get_test_layer(0); in TEST()
2248 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
2253 FrameworkEnvironment env; in TEST() local
2254 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
2257 env.add_implicit_layer( in TEST()
2269 env.update_loader_settings( in TEST()
2270env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
2273 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2278 auto& layer = env.get_test_layer(0); in TEST()
2281 auto extensions = env.GetInstanceExtensions(4); in TEST()
2289 FrameworkEnvironment env; in TEST() local
2290 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)) in TEST()
2296 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 1, 2}).add_layer( in TEST()
2307 env.update_loader_settings( in TEST()
2308env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
2311 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2316 auto& layer = env.get_test_layer(0); in TEST()
2320 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
2325 FrameworkEnvironment env; in TEST() local
2326 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)) in TEST()
2332 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 1, 2}).add_layer( in TEST()
2344 env.update_loader_settings( in TEST()
2345env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
2348 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2353 auto& layer = env.get_test_layer(0); in TEST()
2357 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
2363 FrameworkEnvironment env{FrameworkSettings{}.set_log_filter("")}; in TEST() local
2364 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
2366 env.add_explicit_layer(TestLayerDetails{ in TEST()
2370env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
2374 .set_path(env.get_shimmed_layer_manifest_path()) in TEST()
2383 …expected_output_verbose += "[Vulkan Loader] DEBUG: Path: " + env.get_shimmed_layer_manife… in TEST()
2394 … std::string("[Vulkan Loader] INFO: ") + get_settings_location_log_message(env) + "\n"; in TEST()
2402 env.loader_settings.app_specific_settings.at(0).stderr_log = {"all"}; in TEST()
2403 env.update_loader_settings(env.loader_settings); in TEST()
2405 InstWrapper inst{env.vulkan_functions}; in TEST()
2408 ASSERT_TRUE(env.platform_shim->find_in_log( in TEST()
2411 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2412 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2413 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2414 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2418 env.platform_shim->clear_logs(); in TEST()
2419 env.loader_settings.app_specific_settings.at(0).stderr_log = {"error", "warn", "info", "debug"}; in TEST()
2420 env.update_loader_settings(env.loader_settings); in TEST()
2422 InstWrapper inst{env.vulkan_functions}; in TEST()
2426env.platform_shim->find_in_log("[Vulkan Loader] DEBUG: Loader Settings Filters for Loggin… in TEST()
2428 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2429 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2430 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2431 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2435 env.platform_shim->clear_logs(); in TEST()
2436 env.loader_settings.app_specific_settings.at(0).stderr_log = {"warn", "info", "debug"}; in TEST()
2437 env.update_loader_settings(env.loader_settings); in TEST()
2439 InstWrapper inst{env.vulkan_functions}; in TEST()
2442 ASSERT_TRUE(env.platform_shim->find_in_log( in TEST()
2444 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2445 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2446 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2447 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2451 env.platform_shim->clear_logs(); in TEST()
2452 env.loader_settings.app_specific_settings.at(0).stderr_log = {"debug"}; in TEST()
2453 env.update_loader_settings(env.loader_settings); in TEST()
2455 InstWrapper inst{env.vulkan_functions}; in TEST()
2458 ASSERT_TRUE(env.platform_shim->find_in_log( in TEST()
2460 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2461 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2462 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2463 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2467 env.platform_shim->clear_logs(); in TEST()
2468 env.loader_settings.app_specific_settings.at(0).stderr_log = {"info"}; in TEST()
2469 env.update_loader_settings(env.loader_settings); in TEST()
2471 InstWrapper inst{env.vulkan_functions}; in TEST()
2474 ASSERT_FALSE(env.platform_shim->find_in_log( in TEST()
2476 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2477 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2478 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2479 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2483 env.platform_shim->clear_logs(); in TEST()
2484 env.loader_settings.app_specific_settings.at(0).stderr_log = {"warn"}; in TEST()
2485 env.update_loader_settings(env.loader_settings); in TEST()
2487 InstWrapper inst{env.vulkan_functions}; in TEST()
2490 ASSERT_FALSE(env.platform_shim->find_in_log( in TEST()
2492 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2493 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2494 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2495 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2499 env.platform_shim->clear_logs(); in TEST()
2500 env.loader_settings.app_specific_settings.at(0).stderr_log = {"error"}; in TEST()
2501 env.update_loader_settings(env.loader_settings); in TEST()
2503 InstWrapper inst{env.vulkan_functions}; in TEST()
2506 ASSERT_FALSE(env.platform_shim->find_in_log( in TEST()
2508 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2509 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2510 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2511 ASSERT_TRUE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2515 env.platform_shim->clear_logs(); in TEST()
2516env.loader_settings.app_specific_settings.at(0).stderr_log = {""}; // Empty string shouldn't be m… in TEST()
2517 env.update_loader_settings(env.loader_settings); in TEST()
2519 InstWrapper inst{env.vulkan_functions}; in TEST()
2522 ASSERT_FALSE(env.platform_shim->find_in_log( in TEST()
2524 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2525 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2526 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2527 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2531 env.platform_shim->clear_logs(); in TEST()
2532 env.loader_settings.app_specific_settings.at(0).stderr_log = {}; // No string in the log in TEST()
2533 env.update_loader_settings(env.loader_settings); in TEST()
2535 InstWrapper inst{env.vulkan_functions}; in TEST()
2538 ASSERT_FALSE(env.platform_shim->find_in_log( in TEST()
2540 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2541 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2542 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2543 ASSERT_FALSE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2551 FrameworkEnvironment env{FrameworkSettings{}.set_log_filter("")}; in TEST() local
2552 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
2554 env.add_explicit_layer(TestLayerDetails{ in TEST()
2558env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
2562 .set_path(env.get_shimmed_layer_manifest_path()) in TEST()
2566 env.loader_settings.app_specific_settings.at(0).stderr_log = {""}; in TEST()
2567 env.update_loader_settings(env.loader_settings); in TEST()
2570 InstWrapper inst{env.vulkan_functions}; in TEST()
2572 EXPECT_TRUE(env.platform_shim->fputs_stderr_log.empty()); in TEST()
2578 env.loader_settings.app_specific_settings.at(0).stderr_log = {}; in TEST()
2579 env.update_loader_settings(env.loader_settings); in TEST()
2581 InstWrapper inst{env.vulkan_functions}; in TEST()
2584 EXPECT_TRUE(env.platform_shim->fputs_stderr_log.empty()); in TEST()
2589 env.loader_settings.app_specific_settings.at(0).stderr_log.clear(); in TEST()
2590 env.update_loader_settings(env.loader_settings); in TEST()
2594 InstWrapper inst{env.vulkan_functions}; in TEST()
2596 EXPECT_TRUE(env.platform_shim->fputs_stderr_log.empty()); in TEST()
2605 InstWrapper inst{env.vulkan_functions}; in TEST()
2608 EXPECT_TRUE(env.platform_shim->fputs_stderr_log.empty()); in TEST()
2612 env.loader_settings.app_specific_settings.at(0).stderr_log = {}; in TEST()
2613 env.update_loader_settings(env.loader_settings); in TEST()
2617 InstWrapper inst{env.vulkan_functions}; in TEST()
2619 EXPECT_TRUE(env.platform_shim->fputs_stderr_log.empty()); in TEST()
2628 InstWrapper inst{env.vulkan_functions}; in TEST()
2631 EXPECT_TRUE(env.platform_shim->fputs_stderr_log.empty()); in TEST()
2639 FrameworkEnvironment env{FrameworkSettings{}.set_log_filter("all")}; in TEST() local
2640 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
2644 env.add_explicit_layer(TestLayerDetails{ in TEST()
2649env.update_loader_settings(env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific… in TEST()
2653 .set_path(env.get_shimmed_layer_manifest_path()) in TEST()
2657 env.loader_settings.app_specific_settings.at(0).stderr_log = {}; in TEST()
2658 env.update_loader_settings(env.loader_settings); in TEST()
2664 …expected_output_verbose += "[Vulkan Loader] DEBUG: Path: " + env.get_shimmed_layer_manife… in TEST()
2675 … std::string("[Vulkan Loader] INFO: ") + get_settings_location_log_message(env) + "\n"; in TEST()
2683 env.platform_shim->clear_logs(); in TEST()
2685 InstWrapper inst{env.vulkan_functions}; in TEST()
2687 EXPECT_TRUE(env.platform_shim->find_in_log(expected_output_verbose)); in TEST()
2688 EXPECT_TRUE(env.platform_shim->find_in_log(expected_output_info)); in TEST()
2689 EXPECT_TRUE(env.platform_shim->find_in_log(expected_output_warning)); in TEST()
2690 EXPECT_TRUE(env.platform_shim->find_in_log(expected_output_error)); in TEST()
2697 FrameworkEnvironment env{}; in TEST() local
2698 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
2700 env.add_explicit_layer( in TEST()
2705 env.add_explicit_layer( in TEST()
2710 env.add_explicit_layer( in TEST()
2715 env.add_explicit_layer( in TEST()
2720 env.add_explicit_layer( in TEST()
2725 env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific_setting( in TEST()
2727 …{LoaderSettingsLayerConfiguration{}.set_name(layer1).set_path(env.get_shimmed_layer_manifest_path(… in TEST()
2730 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
2734 .set_path(env.get_shimmed_layer_manifest_path(2)) in TEST()
2738 .set_path(env.get_shimmed_layer_manifest_path(3)) in TEST()
2742 .set_path(env.get_shimmed_layer_manifest_path(4)) in TEST()
2744 env.update_loader_settings(env.loader_settings); in TEST()
2749 auto layers = env.GetLayerProperties(5); in TEST()
2756 InstWrapper inst{env.vulkan_functions}; in TEST()
2767 FrameworkEnvironment env{}; in TEST() local
2768 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
2769 env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific_setting( in TEST()
2774env.add_explicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2779env.loader_settings.app_specific_settings.at(0).add_layer_configuration(LoaderSettingsLayerConfigu… in TEST()
2781 … .set_path(env.get_layer_manifest_path(i)) in TEST()
2784 env.update_loader_settings(env.loader_settings); in TEST()
2787 auto layer_props = env.GetLayerProperties(40); in TEST()
2792 InstWrapper inst{env.vulkan_functions}; in TEST()
2793 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2796 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
2797 env.debug_log.clear(); in TEST()
2804 env.loader_settings.app_specific_settings.at(0).layer_configurations.clear(); in TEST()
2808 env.loader_settings.app_specific_settings.at(0).add_layer_configuration( in TEST()
2811 .set_path(env.get_layer_manifest_path(layer_count - i - 1)) in TEST()
2814 env.update_loader_settings(env.loader_settings); in TEST()
2817 auto layer_props = env.GetLayerProperties(40); in TEST()
2822 InstWrapper inst{env.vulkan_functions}; in TEST()
2823 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2826 ASSERT_TRUE(env.debug_log.find(get_settings_location_log_message(env))); in TEST()
2827 env.debug_log.clear(); in TEST()
2837 FrameworkEnvironment env{}; in TEST() local
2838env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device(PhysicalDevice{}.set_devi… in TEST()
2839env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2).set_discovery_type(ManifestDiscoveryType::env_… in TEST()
2841env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2).set_discovery_type(ManifestDiscoveryType::add_… in TEST()
2845 env.add_explicit_layer(TestLayerDetails{ in TEST()
2850env.add_explicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2856 env.add_explicit_layer(TestLayerDetails{ in TEST()
2863 env.add_explicit_layer(TestLayerDetails{ in TEST()
2870env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2877env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2885env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2893 env.loader_settings.set_file_format_version({1, 0, 0}).add_app_specific_setting( in TEST()
2897 .set_path(env.get_shimmed_layer_manifest_path(4)) in TEST()
2902 .set_path(env.get_shimmed_layer_manifest_path(0)) in TEST()
2906 .set_path(env.get_shimmed_layer_manifest_path(1)) in TEST()
2909 env.update_loader_settings(env.loader_settings); in TEST()
2913 InstWrapper inst{env.vulkan_functions}; in TEST()
2920 EXPECT_TRUE(env.platform_shim->find_in_log( in TEST()
2921 … "env var 'VK_INSTANCE_LAYERS' defined and adding layers: VK_LAYER_regular_explicit_layer")); in TEST()
2923 env.platform_shim->clear_logs(); in TEST()
2926 InstWrapper inst{env.vulkan_functions}; in TEST()
2933 EXPECT_TRUE(env.platform_shim->find_in_log( in TEST()
2934 …"Layer \"VK_LAYER_regular_explicit_layer\" forced enabled due to env var 'VK_LOADER_LAYERS_ENABLE'… in TEST()
2936 env.platform_shim->clear_logs(); in TEST()
2939 InstWrapper inst{env.vulkan_functions}; in TEST()
2944env.platform_shim->find_in_log("Layer \"VK_LAYER_env_var_implicit_layer\" forced disabled because … in TEST()
2945 "of env var 'VK_LOADER_LAYERS_DISABLE'")); in TEST()
2947 env.platform_shim->clear_logs(); in TEST()
2951 // Allow only makes sense when the disable env-var is also set in TEST()
2954 InstWrapper inst{env.vulkan_functions}; in TEST()
2962env.platform_shim->find_in_log("Layer \"VK_LAYER_env_var_implicit_layer\" forced disabled because … in TEST()
2963 "of env var 'VK_LOADER_LAYERS_DISABLE'")); in TEST()
2965 env.platform_shim->clear_logs(); in TEST()
2969 InstWrapper inst{env.vulkan_functions}; in TEST()
2977 …EXPECT_TRUE(env.platform_shim->find_in_log("Insert instance layer \"VK_LAYER_env_var_explicit_laye… in TEST()
2979 env.platform_shim->clear_logs(); in TEST()
2982 InstWrapper inst{env.vulkan_functions}; in TEST()
2988 …EXPECT_TRUE(env.platform_shim->find_in_log("Insert instance layer \"VK_LAYER_env_var_implicit_laye… in TEST()
2990 env.platform_shim->clear_logs(); in TEST()
2996 InstWrapper inst{env.vulkan_functions}; in TEST()
3004 …EXPECT_TRUE(env.platform_shim->find_in_log("Insert instance layer \"VK_LAYER_add_env_var_explicit_… in TEST()
3006 env.platform_shim->clear_logs(); in TEST()
3012 InstWrapper inst{env.vulkan_functions}; in TEST()
3018 …EXPECT_TRUE(env.platform_shim->find_in_log("Insert instance layer \"VK_LAYER_add_env_var_implicit_… in TEST()