Lines Matching full:env
30 void CheckLogForLayerString(FrameworkEnvironment& env, const char* implicit_layer_name, bool check_… in CheckLogForLayerString() argument
32 InstWrapper inst{env.vulkan_functions}; in CheckLogForLayerString()
33 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in CheckLogForLayerString()
36 … ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in CheckLogForLayerString()
38 … ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in CheckLogForLayerString()
41 env.debug_log.clear(); in CheckLogForLayerString()
47 FrameworkEnvironment env; in TEST() local
48 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
54 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
61 auto layers = env.GetLayerProperties(1); in TEST()
64 // didn't set enable env-var, layer should not load in TEST()
65 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
67 // set enable env-var to 0, no layer should be found in TEST()
69 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
71 // set enable env-var, layer should load in TEST()
73 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
75 // remove enable env var, so we can check what happens when only disable is present in TEST()
78 // set disable env-var to 0, layer should not load in TEST()
80 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
82 // set disable env-var to 1, layer should not load in TEST()
84 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
86 // set both enable and disable env-var, layer should not load in TEST()
89 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
93 FrameworkEnvironment env; in TEST() local
94 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
98 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
104 auto layers = env.GetLayerProperties(1); in TEST()
107 // don't set disable env-var, layer should load in TEST()
108 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
110 // set disable env-var to 0, layer should load in TEST()
112 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
114 // set disable env-var to 1, layer should not load in TEST()
116 CheckLogForLayerString(env, implicit_layer_name, false); in TEST()
119 InstWrapper inst{env.vulkan_functions}; in TEST()
120 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
123 … ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in TEST()
128 FrameworkEnvironment env; in TEST() local
129 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
133 env.add_implicit_layer( in TEST()
145 auto& layer = env.get_test_layer(0); in TEST()
149 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
152 // set disable env-var to 1, layer should not load in TEST()
156 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
162 FrameworkEnvironment env; in TEST() local
163 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
167 env.add_implicit_layer( in TEST()
179 auto& layer = env.get_test_layer(0); in TEST()
183 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
186 // set disable env-var to 1, layer should not load in TEST()
190 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
196 FrameworkEnvironment env; in TEST() local
197 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)) in TEST()
204 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 1, 2}).add_layer( in TEST()
216 auto& layer = env.get_test_layer(0); in TEST()
220 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
223 // set disable env-var to 1, layer should not load in TEST()
227 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
237 FrameworkEnvironment env; in TEST() local
238 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
243 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 0, 0}).add_layer( in TEST()
254 InstWrapper inst1{env.vulkan_functions}; in TEST()
259 // set disable env-var to 1, layer should not load in TEST()
261 InstWrapper inst2{env.vulkan_functions}; in TEST()
266 // Force enable with filter env var
268 FrameworkEnvironment env; in TEST() local
270 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)) in TEST()
278 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
290 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
302 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
314 InstWrapper inst1{env.vulkan_functions}; in TEST()
315 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
318 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
319 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
320 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
321 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
322 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
323 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
324 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
325 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
326 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
327 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
328 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
329 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
333 env.debug_log.clear(); in TEST()
336 InstWrapper inst2{env.vulkan_functions}; in TEST()
337 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
340 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
341 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
342 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to e… in TEST()
343 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
344 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
345 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
346 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
347 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
348 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
349 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
350 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
351 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
355 env.debug_log.clear(); in TEST()
358 InstWrapper inst3{env.vulkan_functions}; in TEST()
359 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
362 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
363 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
364 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to e… in TEST()
365 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
366 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
367 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
368 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to e… in TEST()
369 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
370 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
371 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
372 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to e… in TEST()
373 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
377 env.debug_log.clear(); in TEST()
380 InstWrapper inst4{env.vulkan_functions}; in TEST()
381 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
384 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
385 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
386 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
387 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
388 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
389 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
390 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to e… in TEST()
391 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
392 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
393 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
394 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
395 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
399 env.debug_log.clear(); in TEST()
402 InstWrapper inst5{env.vulkan_functions}; in TEST()
403 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
406 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
407 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
408 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
409 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
410 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
411 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
412 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to e… in TEST()
413 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
414 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
415 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
416 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to e… in TEST()
417 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
421 env.debug_log.clear(); in TEST()
424 InstWrapper inst6{env.vulkan_functions}; in TEST()
425 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
428 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
429 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
430 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to e… in TEST()
431 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
432 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
433 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
434 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to e… in TEST()
435 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
436 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
437 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
438 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to e… in TEST()
439 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
443 env.debug_log.clear(); in TEST()
446 InstWrapper inst7{env.vulkan_functions}; in TEST()
447 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
450 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
451 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
452 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to e… in TEST()
453 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
454 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
455 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
456 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to e… in TEST()
457 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
458 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
459 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
460 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to e… in TEST()
461 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
465 env.debug_log.clear(); in TEST()
469 InstWrapper inst8{env.vulkan_functions}; in TEST()
470 FillDebugUtilsCreateDetails(inst8.create_info, env.debug_log); in TEST()
473 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
474 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
475 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
476 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
477 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
478 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
479 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to e… in TEST()
480 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
481 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
482 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
483 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to e… in TEST()
484 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
487 // Force disabled with new filter env var
489 FrameworkEnvironment env; in TEST() local
490 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
496 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
506 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
516 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
526 InstWrapper inst1{env.vulkan_functions}; in TEST()
527 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
530 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
531 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
532 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
533 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
534 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
535 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
536 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
537 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
538 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
539 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
540 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
541 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
545 env.debug_log.clear(); in TEST()
548 InstWrapper inst2{env.vulkan_functions}; in TEST()
549 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
552 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
553 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
554 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
555 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
556 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
557 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
558 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
559 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
560 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
561 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
562 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
563 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
567 env.debug_log.clear(); in TEST()
570 InstWrapper inst3{env.vulkan_functions}; in TEST()
571 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
574 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
575 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
576 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
577 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
578 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
579 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
580 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
581 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
582 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
583 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
584 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
585 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name m… in TEST()
589 env.debug_log.clear(); in TEST()
592 InstWrapper inst4{env.vulkan_functions}; in TEST()
593 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
596 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
597 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
598 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
599 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
600 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
601 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
602 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
603 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
604 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
605 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
606 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
607 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
611 env.debug_log.clear(); in TEST()
614 InstWrapper inst5{env.vulkan_functions}; in TEST()
615 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
618 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
619 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
620 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
621 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
622 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
623 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
624 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
625 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
626 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
627 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
628 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
629 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name m… in TEST()
633 env.debug_log.clear(); in TEST()
636 InstWrapper inst6{env.vulkan_functions}; in TEST()
637 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
640 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
641 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
642 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
643 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
644 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
645 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
646 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
647 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
648 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
649 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
650 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
651 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name m… in TEST()
655 env.debug_log.clear(); in TEST()
658 InstWrapper inst7{env.vulkan_functions}; in TEST()
659 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
662 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
663 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
664 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
665 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
666 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
667 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
668 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
669 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
670 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
671 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3… in TEST()
672 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
673 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name m… in TEST()
676 // Force disabled with new filter env var
678 FrameworkEnvironment env; in TEST() local
679 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
686 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
698 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
711 InstWrapper inst1{env.vulkan_functions}; in TEST()
712 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
715 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
716 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
717 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
718 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
719 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
720 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
721 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
722 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
724 // Set the layers enable env-var in TEST()
726 env.debug_log.clear(); in TEST()
730 InstWrapper inst2{env.vulkan_functions}; in TEST()
731 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
734 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
735 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
736 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
737 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
738 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
739 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
740 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
741 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
745 env.debug_log.clear(); in TEST()
748 InstWrapper inst3{env.vulkan_functions}; in TEST()
749 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
752 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
753 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
754 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
755 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
756 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
757 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
758 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
759 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
763 env.debug_log.clear(); in TEST()
766 InstWrapper inst4{env.vulkan_functions}; in TEST()
767 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
770 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
771 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
772 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
773 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
774 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
775 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
776 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
777 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
783 FrameworkEnvironment env; in TEST() local
784 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
790 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
800 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
810 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
822 env.debug_log.clear(); in TEST()
826 InstWrapper inst1{env.vulkan_functions}; in TEST()
827 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
830 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
831 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
832 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
833 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
834 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
835 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2… in TEST()
836 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
837 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name m… in TEST()
838 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
839 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
840 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
841 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
845 env.debug_log.clear(); in TEST()
849 InstWrapper inst2{env.vulkan_functions}; in TEST()
850 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
853 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
854 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
855 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
856 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
857 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
858 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
859 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
860 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
861 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
862 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
863 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
864 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
868 env.debug_log.clear(); in TEST()
872 InstWrapper inst3{env.vulkan_functions}; in TEST()
873 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
876 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
877 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
878 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
879 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
880 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
881 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
882 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
883 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
884 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
885 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
886 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
887 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
891 env.debug_log.clear(); in TEST()
895 InstWrapper inst4{env.vulkan_functions}; in TEST()
896 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
899 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
900 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1… in TEST()
901 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
902 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name m… in TEST()
903 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
904 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
905 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
906 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
907 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
908 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
909 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
910 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
914 env.debug_log.clear(); in TEST()
918 InstWrapper inst5{env.vulkan_functions}; in TEST()
919 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
922 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
923 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
924 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
925 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
926 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
927 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
928 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
929 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
930 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
931 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
932 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
933 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
937 env.debug_log.clear(); in TEST()
941 InstWrapper inst6{env.vulkan_functions}; in TEST()
942 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
945 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_1)); in TEST()
946 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_1)… in TEST()
947 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "forced enabled due to … in TEST()
948 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_1, "disabled because name … in TEST()
949 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_2)); in TEST()
950 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_2)… in TEST()
951 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "forced enabled due to … in TEST()
952 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_2, "disabled because name … in TEST()
953 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", implicit_json_name_3)); in TEST()
954 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", implicit_layer_name_3)… in TEST()
955 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "forced enabled due to … in TEST()
956 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(implicit_layer_name_3, "disabled because name … in TEST()
962 FrameworkEnvironment env; in TEST() local
963 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
967 …env.add_implicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
973 auto& layer1 = env.get_test_layer(0); in TEST()
977 …env.add_implicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
985 auto& layer2 = env.get_test_layer(1); in TEST()
989 …env.platform_shim->add_manifest(ManifestCategory::implicit_layer, env.get_folder(ManifestLocation:… in TEST()
991 env.platform_shim->redirect_path(fs::path(USER_LOCAL_SHARE_DIR "/vulkan/implicit_layer.d"), in TEST()
992 env.get_folder(ManifestLocation::override_layer).location()); in TEST()
995 auto layer_props = env.GetLayerProperties(2); in TEST()
1001 InstWrapper inst{env.vulkan_functions}; in TEST()
1002 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1008 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
1009 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
1014 FrameworkEnvironment env; in TEST() local
1015 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
1019 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 1, 2}).add_layer( in TEST()
1029 env.add_explicit_layer( in TEST()
1035 auto layer_props = env.GetLayerProperties(1); in TEST()
1038 auto extensions = env.GetInstanceExtensions(4); in TEST()
1044 InstWrapper inst{env.vulkan_functions}; in TEST()
1046 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1048 …ASSERT_TRUE(env.debug_log.find(std::string("verify_meta_layer_component_layers: Meta-layer ") + me… in TEST()
1054 FrameworkEnvironment env; in TEST() local
1055 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1058 env.add_explicit_layer( in TEST()
1063 env.add_explicit_layer( in TEST()
1070 auto layer_props = env.GetLayerProperties(2); in TEST()
1073 auto extensions = env.GetInstanceExtensions(4); in TEST()
1080 InstWrapper inst{env.vulkan_functions}; in TEST()
1085 InstWrapper inst{env.vulkan_functions}; in TEST()
1095 FrameworkEnvironment env; in TEST() local
1096 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
1099 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 1, 2}).add_layer( in TEST()
1108 env.add_explicit_layer( in TEST()
1114 auto layer_props = env.GetLayerProperties(1); in TEST()
1117 auto extensions = env.GetInstanceExtensions(4); in TEST()
1123 InstWrapper inst{env.vulkan_functions}; in TEST()
1125 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1127 …ASSERT_TRUE(env.debug_log.find(std::string("verify_meta_layer_component_layers: Meta-layer ") + me… in TEST()
1133 FrameworkEnvironment env; in TEST() local
1134 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)); in TEST()
1138 env.add_explicit_layer( in TEST()
1142 env.add_explicit_layer( in TEST()
1146 env.add_explicit_layer(ManifestLayer{}.set_file_format_version({1, 1, 2}).add_layer( in TEST()
1152 auto layer_props = env.GetLayerProperties(3); in TEST()
1155 auto extensions = env.GetInstanceExtensions(4); in TEST()
1161 InstWrapper inst{env.vulkan_functions}; in TEST()
1163 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1165 …ASSERT_TRUE(env.debug_log.find(std::string("verify_meta_layer_component_layers: Adding meta-layer … in TEST()
1170 FrameworkEnvironment env; in TEST() local
1171 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1176 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1181 env.add_explicit_layer( in TEST()
1186 auto extensions = env.GetInstanceExtensions(1, meta_layer_name); in TEST()
1191 FrameworkEnvironment env; in TEST() local
1192 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1197 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1202 env.add_explicit_layer( in TEST()
1207 ASSERT_NO_FATAL_FAILURE(env.GetInstanceExtensions(0, meta_layer_name)); in TEST()
1210 InstWrapper inst{env.vulkan_functions}; in TEST()
1211 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1213 …ASSERT_TRUE(env.debug_log.find(std::string("Meta-layer ") + meta_layer_name + " component layer " … in TEST()
1220 InstWrapper inst{env.vulkan_functions}; in TEST()
1222 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1224 …ASSERT_TRUE(env.debug_log.find(std::string("Meta-layer ") + meta_layer_name + " component layer " … in TEST()
1234 FrameworkEnvironment env; in TEST() local
1235 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1238 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1245 env.add_implicit_layer( in TEST()
1252 auto layer_props = env.GetLayerProperties(1); in TEST()
1255 InstWrapper inst{env.vulkan_functions}; in TEST()
1261 FrameworkEnvironment env; in TEST() local
1262 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1265 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1272 env.add_implicit_layer( in TEST()
1280 auto layer_props = env.GetLayerProperties(2); in TEST()
1284 InstWrapper inst{env.vulkan_functions}; in TEST()
1293 InstWrapper inst{env.vulkan_functions}; in TEST()
1304 FrameworkEnvironment env; in TEST() local
1305 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1308 env.add_explicit_layer( in TEST()
1315 env.add_implicit_layer( in TEST()
1323 auto layer_props = env.GetLayerProperties(2); in TEST()
1328 InstWrapper inst{env.vulkan_functions}; in TEST()
1338 InstWrapper inst{env.vulkan_functions}; in TEST()
1348 FrameworkEnvironment env; in TEST() local
1349 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1352 env.add_explicit_layer( in TEST()
1359 env.add_implicit_layer( in TEST()
1368 auto layer_props = env.GetLayerProperties(2); in TEST()
1374 InstWrapper inst{env.vulkan_functions}; in TEST()
1375 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1379 … EXPECT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1383 env.debug_log.clear(); in TEST()
1387 InstWrapper inst{env.vulkan_functions}; in TEST()
1388 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1392 … EXPECT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1400 FrameworkEnvironment env; in TEST() local
1401 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1404 env.add_explicit_layer( in TEST()
1411 env.add_implicit_layer( in TEST()
1419 auto layer_props = env.GetLayerProperties(1); in TEST()
1424 InstWrapper inst{env.vulkan_functions}; in TEST()
1425 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1429 …env.debug_log.find("verify_meta_layer_component_layers: Meta-layer uses API version 1.1, but compo… in TEST()
1431 env.debug_log.clear(); in TEST()
1437 InstWrapper inst{env.vulkan_functions}; in TEST()
1438 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1442 …env.debug_log.find("verify_meta_layer_component_layers: Meta-layer uses API version 1.1, but compo… in TEST()
1444 env.debug_log.clear(); in TEST()
1450 FrameworkEnvironment env; in TEST() local
1451 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1455 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1460 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1465 env.add_implicit_layer( in TEST()
1474 auto layer_props = env.GetLayerProperties(2); in TEST()
1479 InstWrapper inst{env.vulkan_functions}; in TEST()
1480 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1483 …ASSERT_TRUE(env.debug_log.find(std::string("loader_remove_layers_in_blacklist: Override layer is a… in TEST()
1486 env.debug_log.clear(); in TEST()
1489 InstWrapper inst{env.vulkan_functions}; in TEST()
1490 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1492 …ASSERT_TRUE(env.debug_log.find(std::string("loader_remove_layers_in_blacklist: Override layer is a… in TEST()
1495 env.debug_log.clear(); in TEST()
1502 FrameworkEnvironment env; in TEST() local
1503 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1515 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 2, 0}).add_layer( in TEST()
1524 InstWrapper inst{env.vulkan_functions}; in TEST()
1526 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1528 ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1529 env.layers.clear(); in TEST()
1533 FrameworkEnvironment env; in TEST() local
1534 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1539 env.add_explicit_layer( in TEST()
1554 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 2, 0}).add_layer( in TEST()
1563 InstWrapper inst{env.vulkan_functions}; in TEST()
1566 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1568 ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1569 env.layers.clear(); in TEST()
1573 FrameworkEnvironment env; in TEST() local
1574 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1578 env.add_explicit_layer(TestLayerDetails{ in TEST()
1588 …env.add_explicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
1595 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 2, 0}).add_layer( in TEST()
1601 … .add_override_path(env.get_folder(ManifestLocation::override_layer).location().str())), in TEST()
1604 auto meta_layer_path = env.get_folder(ManifestLocation::override_layer).location(); in TEST()
1606 InstWrapper inst{env.vulkan_functions}; in TEST()
1609 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1611 ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + env_var_layer_name)); in TEST()
1612 ASSERT_TRUE(env.debug_log.find( in TEST()
1615 env.env_var_vk_layer_paths.value())); in TEST()
1616 …ASSERT_TRUE(env.debug_log.find("Override layer has override paths set to " + meta_layer_path.str()… in TEST()
1618 env.layers.clear(); in TEST()
1623 FrameworkEnvironment env; in TEST() local
1624 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1628 env.add_implicit_layer( in TEST()
1643 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 2, 0}).add_layer( in TEST()
1652 InstWrapper inst{env.vulkan_functions}; in TEST()
1653 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1656 ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + implicit_layer_name)); in TEST()
1658 …env.debug_log.find("Removing meta-layer VK_LAYER_LUNARG_override from instance layer list since it… in TEST()
1659 env.layers.clear(); in TEST()
1663 FrameworkEnvironment env; in TEST() local
1664 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1675 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 0, 0}).add_layer( in TEST()
1684 InstWrapper inst{env.vulkan_functions}; in TEST()
1686 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1688 ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1689 …ASSERT_TRUE(env.debug_log.find("Indicating meta-layer-specific override paths, but using older JSO… in TEST()
1690 env.layers.clear(); in TEST()
1695 FrameworkEnvironment env; in TEST() local
1696 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1699 env.add_explicit_layer( in TEST()
1706 env.add_implicit_layer( in TEST()
1714 auto layer_props = env.GetLayerProperties(2); in TEST()
1719 InstWrapper inst{env.vulkan_functions}; in TEST()
1728 FrameworkEnvironment env; in TEST() local
1729 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1732 env.add_explicit_layer( in TEST()
1737 env.add_implicit_layer(ManifestLayer{}.set_file_format_version({1, 2, 0}).add_layer( in TEST()
1745 auto layer_props = env.GetLayerProperties(1); in TEST()
1750 InstWrapper inst{env.vulkan_functions}; in TEST()
1757 FrameworkEnvironment env; in TEST() local
1758 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1771 …env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.set_file_format_version({1, 2, 0}).add_lay… in TEST()
1781 auto layer_props = env.GetLayerProperties(2); in TEST()
1784 InstWrapper inst{env.vulkan_functions}; in TEST()
1786 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1788 … ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1791 env.debug_log.clear(); in TEST()
1794 env.platform_shim->set_elevated_privilege(true); in TEST()
1797 auto layer_props = env.GetLayerProperties(2); in TEST()
1800 InstWrapper inst{env.vulkan_functions}; in TEST()
1802 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1804 … ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1812 FrameworkEnvironment env; in TEST() local
1813 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1825 …env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.set_file_format_version({1, 2, 0}).add_lay… in TEST()
1836 auto layer_props = env.GetLayerProperties(2); in TEST()
1839 InstWrapper inst{env.vulkan_functions}; in TEST()
1841 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1843 … ASSERT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1844 env.debug_log.clear(); in TEST()
1849 env.platform_shim->set_elevated_privilege(true); in TEST()
1852 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
1854 InstWrapper inst{env.vulkan_functions}; in TEST()
1856 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
1858 … ASSERT_FALSE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
1865 FrameworkEnvironment env; in TEST() local
1866 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1870 env.add_explicit_layer( in TEST()
1886 auto& layer = env.get_test_layer(0); in TEST()
1891 env.add_implicit_layer( in TEST()
1899 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
1902 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
1906 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
1909 InstWrapper inst{env.vulkan_functions}; in TEST()
1918 FrameworkEnvironment env; in TEST() local
1919 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1922 env.add_explicit_layer( in TEST()
1938 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
1942 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
1944 env.update_loader_settings(env.loader_settings); in TEST()
1946 auto& layer = env.get_test_layer(0); in TEST()
1952 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
1955 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
1959 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
1962 InstWrapper inst{env.vulkan_functions}; in TEST()
1970 FrameworkEnvironment env; in TEST() local
1971 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
1974 env.add_explicit_layer( in TEST()
1990 auto& layer = env.get_test_layer(0); in TEST()
1996 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST()
1999 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST()
2003 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST()
2006 InstWrapper inst{env.vulkan_functions}; in TEST()
2017 FrameworkEnvironment env; in TEST() local
2018 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)) in TEST()
2023 env.add_explicit_layer( in TEST()
2028 auto& layer_handle = env.get_test_layer(0); in TEST()
2050 InstWrapper inst{env.vulkan_functions}; in TEST()
2056 FrameworkEnvironment env; in TEST() local
2057 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)) in TEST()
2062 env.add_explicit_layer( in TEST()
2067 auto& layer_handle = env.get_test_layer(0); in TEST()
2083 InstWrapper inst{env.vulkan_functions}; in TEST()
2089 FrameworkEnvironment env; in TEST() local
2090 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2096 env.add_explicit_layer(TestLayerDetails( in TEST()
2107 auto layer_props = env.GetLayerProperties(3); in TEST()
2114 FrameworkEnvironment env; in TEST() local
2115 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device("physica… in TEST()
2118 env.add_explicit_layer(ManifestLayer{}.add_layer( in TEST()
2123 env.add_explicit_layer( in TEST()
2129 env.add_explicit_layer( in TEST()
2135 InstWrapper inst{env.vulkan_functions}; in TEST()
2144 InstWrapper inst{env.vulkan_functions}; in TEST()
2153 InstWrapper inst{env.vulkan_functions}; in TEST()
2162 InstWrapper inst{env.vulkan_functions}; in TEST()
2173 FrameworkEnvironment env; in TEST() local
2174 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2179 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2186 InstWrapper inst(env.vulkan_functions); in TEST()
2195 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2203 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2210 InstWrapper inst(env.vulkan_functions); in TEST()
2220 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2227 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2233 InstWrapper inst(env.vulkan_functions); in TEST()
2243 FrameworkEnvironment env; in TEST() local
2244 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2248 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2253 … // use override folder as just a folder and manually set the VK_LAYER_PATH env-var to it in TEST()
2256 auto& layer1 = env.get_test_layer(0); in TEST()
2259 …env.env_var_vk_layer_paths.add_to_list(env.get_folder(ManifestLocation::override_layer).location()… in TEST()
2261 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2268 auto& layer2 = env.get_test_layer(1); in TEST()
2272 auto layer_props = env.GetLayerProperties(2); in TEST()
2278 InstWrapper inst{env.vulkan_functions}; in TEST()
2280 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2285 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
2286 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
2288 env.debug_log.clear(); in TEST()
2292 InstWrapper inst{env.vulkan_functions}; in TEST()
2293 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2298 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
2299 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
2301 env.debug_log.clear(); in TEST()
2305 InstWrapper inst{env.vulkan_functions}; in TEST()
2306 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2311 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
2312 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
2314 env.debug_log.clear(); in TEST()
2318 FrameworkEnvironment env; in TEST() local
2319 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2323 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2328 … // use override folder as just a folder and manually set the VK_ADD_LAYER_PATH env-var to it in TEST()
2331 auto& layer1 = env.get_test_layer(0); in TEST()
2334 …env.add_env_var_vk_layer_paths.add_to_list(env.get_folder(ManifestLocation::override_layer).locati… in TEST()
2336 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2343 auto& layer2 = env.get_test_layer(1); in TEST()
2347 auto layer_props = env.GetLayerProperties(2); in TEST()
2353 InstWrapper inst{env.vulkan_functions}; in TEST()
2355 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2360 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
2361 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
2363 env.debug_log.clear(); in TEST()
2367 InstWrapper inst{env.vulkan_functions}; in TEST()
2368 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2373 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
2374 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
2376 env.debug_log.clear(); in TEST()
2380 InstWrapper inst{env.vulkan_functions}; in TEST()
2381 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2386 ASSERT_TRUE(env.debug_log.find("actually_layer_1")); in TEST()
2387 ASSERT_FALSE(env.debug_log.find("actually_layer_2")); in TEST()
2389 env.debug_log.clear(); in TEST()
2393 FrameworkEnvironment env; in TEST() local
2394 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2398 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2405 auto& layer1 = env.get_test_layer(0); in TEST()
2409 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2416 auto& layer2 = env.get_test_layer(1); in TEST()
2419 auto layer_props = env.GetLayerProperties(2); in TEST()
2430 InstWrapper inst{env.vulkan_functions}; in TEST()
2433 // Expect the env-var layer to be first in TEST()
2446 InstWrapper inst{env.vulkan_functions}; in TEST()
2449 // Expect the env-var layer to be first in TEST()
2459 FrameworkEnvironment env; in TEST() local
2460 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2464 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2469 auto& layer1 = env.get_test_layer(0); in TEST()
2473 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2478 auto& layer2 = env.get_test_layer(1); in TEST()
2481 auto layer_props = env.GetLayerProperties(2); in TEST()
2492 InstWrapper inst{env.vulkan_functions}; in TEST()
2506 InstWrapper inst{env.vulkan_functions}; in TEST()
2509 // Expect the env-var layer to be first in TEST()
2519 FrameworkEnvironment env; in TEST() local
2520 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2524 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2529 auto& layer1 = env.get_test_layer(0); in TEST()
2534 …env.add_explicit_layer(TestLayerDetails(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2539 auto& layer2 = env.get_test_layer(1); in TEST()
2543 auto layer_props = env.GetLayerProperties(2); in TEST()
2551 InstWrapper inst{env.vulkan_functions}; in TEST()
2554 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2557 // Expect the env-var layer to be first in TEST()
2566 InstWrapper inst{env.vulkan_functions}; in TEST()
2569 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
2572 // Expect the env-var layer to be first in TEST()
2582 FrameworkEnvironment env; in TEST() local
2583 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2589 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2596 auto layers = env.GetLayerProperties(1); in TEST()
2599 // set enable env-var, layer should load in TEST()
2601 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
2603 auto extensions = env.GetInstanceExtensions(4); in TEST()
2613 InstWrapper inst{env.vulkan_functions}; in TEST()
2617 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkReleaseDisplayEXT")); in TEST()
2618 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetPhysicalDeviceSurfa… in TEST()
2622 FrameworkEnvironment env; in TEST() local
2623 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2629 env.add_implicit_layer( in TEST()
2639 auto layers = env.GetLayerProperties(1); in TEST()
2642 // set enable env-var, layer should load in TEST()
2644 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
2646 auto extensions = env.GetInstanceExtensions(5); in TEST()
2656 InstWrapper inst{env.vulkan_functions}; in TEST()
2661 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkReleaseDisplayEXT… in TEST()
2662 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetPhysicalDeviceSurfa… in TEST()
2666 FrameworkEnvironment env; in TEST() local
2667 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2673 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2683 auto layers = env.GetLayerProperties(1); in TEST()
2686 // set enable env-var, layer should load in TEST()
2688 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
2690 auto extensions = env.GetInstanceExtensions(5); in TEST()
2697 InstWrapper inst{env.vulkan_functions}; in TEST()
2702 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkReleaseDisplayEXT")); in TEST()
2703 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetPhysicalDevice… in TEST()
2707 FrameworkEnvironment env; in TEST() local
2708 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2714 env.add_implicit_layer( in TEST()
2726 auto layers = env.GetLayerProperties(1); in TEST()
2729 // set enable env-var, layer should load in TEST()
2731 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
2733 auto extensions = env.GetInstanceExtensions(6); in TEST()
2741 InstWrapper inst{env.vulkan_functions}; in TEST()
2747 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkReleaseDisplayEXT… in TEST()
2748 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetPhysicalDevice… in TEST()
2752 FrameworkEnvironment env; in TEST() local
2753 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2756 env.add_explicit_layer( in TEST()
2761 auto layers = env.GetLayerProperties(1); in TEST()
2764 auto extensions = env.GetInstanceExtensions(4); in TEST()
2771 ASSERT_NO_FATAL_FAILURE(env.GetInstanceExtensions(0, explicit_layer_name)); in TEST()
2773 InstWrapper inst{env.vulkan_functions}; in TEST()
2777 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkReleaseDisplayEXT")); in TEST()
2778 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetPhysicalDeviceSurfa… in TEST()
2782 FrameworkEnvironment env; in TEST() local
2783 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2786 env.add_explicit_layer( in TEST()
2794 auto layers = env.GetLayerProperties(1); in TEST()
2797 auto extensions = env.GetInstanceExtensions(4); in TEST()
2804 auto layer_extensions = env.GetInstanceExtensions(1, explicit_layer_name); in TEST()
2807 InstWrapper inst1{env.vulkan_functions}; in TEST()
2812 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst1.inst, "vkReleaseDisplayEXT")); in TEST()
2813 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst1.inst, "vkGetPhysicalDeviceSurf… in TEST()
2815 InstWrapper inst2{env.vulkan_functions}; in TEST()
2820 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkReleaseDisplayEX… in TEST()
2821 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkGetPhysicalDeviceSurf… in TEST()
2825 FrameworkEnvironment env; in TEST() local
2826 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2829 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2837 auto layers = env.GetLayerProperties(1); in TEST()
2840 auto extensions = env.GetInstanceExtensions(4); in TEST()
2847 auto layer_extensions = env.GetInstanceExtensions(1, explicit_layer_name); in TEST()
2850 InstWrapper inst1{env.vulkan_functions}; in TEST()
2855 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst1.inst, "vkReleaseDisplayEXT")); in TEST()
2856 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst1.inst, "vkGetPhysicalDeviceSurf… in TEST()
2858 InstWrapper inst2{env.vulkan_functions}; in TEST()
2863 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkReleaseDisplayEXT")); in TEST()
2864 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkGetPhysicalDevic… in TEST()
2868 FrameworkEnvironment env; in TEST() local
2869 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2872 env.add_explicit_layer( in TEST()
2882 auto layers = env.GetLayerProperties(1); in TEST()
2885 auto extensions = env.GetInstanceExtensions(4); in TEST()
2892 auto layer_extensions = env.GetInstanceExtensions(2, explicit_layer_name); in TEST()
2896 InstWrapper inst1{env.vulkan_functions}; in TEST()
2902 … handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst1.inst, "vkReleaseDisplayEXT")); in TEST()
2903 …handle_assert_null(env.vulkan_functions.vkGetInstanceProcAddr(inst1.inst, "vkGetPhysicalDeviceSurf… in TEST()
2905 InstWrapper inst2{env.vulkan_functions}; in TEST()
2913 …handle_assert_has_value(env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkReleaseDisplayEX… in TEST()
2928 FrameworkEnvironment env; in TEST() local
2929 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2935 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
2942 auto layers = env.GetLayerProperties(1); in TEST()
2945 // set enable env-var, layer should load in TEST()
2947 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
2949 InstWrapper inst{env.vulkan_functions}; in TEST()
2986 FrameworkEnvironment env; in TEST() local
2987 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
2993 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3000 auto layers = env.GetLayerProperties(1); in TEST()
3003 // set enable env-var, layer should load in TEST()
3005 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
3007 InstWrapper inst{env.vulkan_functions}; in TEST()
3023 FrameworkEnvironment env; in TEST() local
3024 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
3030 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3037 auto layers = env.GetLayerProperties(1); in TEST()
3040 // set enable env-var, layer should load in TEST()
3042 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
3044 InstWrapper inst{env.vulkan_functions}; in TEST()
3060 FrameworkEnvironment env; in TEST() local
3061 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
3067 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3074 auto layers = env.GetLayerProperties(1); in TEST()
3077 // set enable env-var, layer should load in TEST()
3079 CheckLogForLayerString(env, implicit_layer_name, true); in TEST()
3081 InstWrapper inst{env.vulkan_functions}; in TEST()
3098 FrameworkEnvironment env; in TEST() local
3099 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
3102 env.add_explicit_layer( in TEST()
3107 auto layers = env.GetLayerProperties(1); in TEST()
3110 InstWrapper inst{env.vulkan_functions}; in TEST()
3128 FrameworkEnvironment env; in TEST() local
3129 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
3132 env.add_explicit_layer( in TEST()
3140 auto layers = env.GetLayerProperties(1); in TEST()
3143 InstWrapper inst{env.vulkan_functions}; in TEST()
3162 FrameworkEnvironment env; in TEST() local
3163 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
3166 env.add_explicit_layer( in TEST()
3175 auto layers = env.GetLayerProperties(1); in TEST()
3178 InstWrapper inst{env.vulkan_functions}; in TEST()
3197 FrameworkEnvironment env; in TEST() local
3198 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
3201 env.add_explicit_layer( in TEST()
3211 auto layers = env.GetLayerProperties(1); in TEST()
3214 InstWrapper inst{env.vulkan_functions}; in TEST()
3243 FrameworkEnvironment env; in TEST() local
3245 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, api_version)) in TEST()
3250 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3257 InstWrapper inst{env.vulkan_functions}; in TEST()
3265 InstWrapper inst{env.vulkan_functions}; in TEST()
3274 FrameworkEnvironment env; in TEST() local
3276 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, api_version)) in TEST()
3281 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3288 auto layer_props = env.GetLayerProperties(1); in TEST()
3292 InstWrapper inst{env.vulkan_functions}; in TEST()
3294 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
3296 … EXPECT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
3297 env.debug_log.clear(); in TEST()
3302 InstWrapper inst{env.vulkan_functions}; in TEST()
3304 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
3306 … EXPECT_TRUE(env.debug_log.find(std::string("Insert instance layer \"") + regular_layer_name)); in TEST()
3307 env.debug_log.clear(); in TEST()
3315 FrameworkEnvironment env; in TEST() local
3317 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, api_version)) in TEST()
3322 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3329 auto layer_props = env.GetLayerProperties(1); in TEST()
3334 InstWrapper inst{env.vulkan_functions}; in TEST()
3344 InstWrapper inst{env.vulkan_functions}; in TEST()
3354 InstWrapper inst{env.vulkan_functions}; in TEST()
3364 InstWrapper inst{env.vulkan_functions}; in TEST()
3377 FrameworkEnvironment env; in TEST() local
3379 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, api_version)) in TEST()
3384 env.add_explicit_layer( in TEST()
3396 InstWrapper inst1{env.vulkan_functions}; in TEST()
3415 InstWrapper inst2{env.vulkan_functions}; in TEST()
3439 FrameworkEnvironment env; in TEST() local
3441 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, api_version)) in TEST()
3447 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3455 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3463 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3472 InstWrapper inst1{env.vulkan_functions}; in TEST()
3473 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
3476 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3477 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3478 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3479 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3480 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3481 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3482 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3483 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3484 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3485 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3486 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3487 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3491 env.debug_log.clear(); in TEST()
3494 InstWrapper inst2{env.vulkan_functions}; in TEST()
3495 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
3498 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3499 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3500 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
3501 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3502 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3503 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3504 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3505 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3506 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3507 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3508 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3509 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3513 env.debug_log.clear(); in TEST()
3516 InstWrapper inst3{env.vulkan_functions}; in TEST()
3517 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
3520 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3521 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3522 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
3523 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3524 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3525 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3526 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3527 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3528 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3529 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3530 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3531 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3535 env.debug_log.clear(); in TEST()
3538 InstWrapper inst4{env.vulkan_functions}; in TEST()
3539 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
3542 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3543 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3544 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3545 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3546 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3547 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3548 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3549 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3550 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3551 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3552 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3553 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3557 env.debug_log.clear(); in TEST()
3560 InstWrapper inst5{env.vulkan_functions}; in TEST()
3561 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
3564 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3565 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3566 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3567 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3568 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3569 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3570 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3571 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3572 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3573 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3574 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3575 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3579 env.debug_log.clear(); in TEST()
3582 InstWrapper inst6{env.vulkan_functions}; in TEST()
3583 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
3586 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3587 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3588 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
3589 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3590 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3591 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3592 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3593 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3594 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3595 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3596 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3597 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3601 env.debug_log.clear(); in TEST()
3604 InstWrapper inst7{env.vulkan_functions}; in TEST()
3605 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
3608 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3609 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3610 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
3611 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3612 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3613 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3614 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3615 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3616 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3617 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3618 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3619 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3625 FrameworkEnvironment env; in TEST() local
3626 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
3632 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3640 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3648 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3656 InstWrapper inst1{env.vulkan_functions}; in TEST()
3658 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
3661 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3662 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3663 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3664 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3665 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3666 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3667 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3668 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3669 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3670 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3671 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3672 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3676 env.debug_log.clear(); in TEST()
3679 InstWrapper inst2{env.vulkan_functions}; in TEST()
3681 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
3684 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3685 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3686 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3687 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3688 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3689 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3690 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3691 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3692 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3693 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3694 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3695 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3699 env.debug_log.clear(); in TEST()
3702 InstWrapper inst3{env.vulkan_functions}; in TEST()
3704 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
3707 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3708 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3709 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3710 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3711 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3712 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3713 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3714 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3715 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3716 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3717 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3718 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name m… in TEST()
3722 env.debug_log.clear(); in TEST()
3725 InstWrapper inst4{env.vulkan_functions}; in TEST()
3727 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
3730 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3731 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3732 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3733 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3734 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3735 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3736 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3737 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3738 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3739 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3740 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3741 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3745 env.debug_log.clear(); in TEST()
3748 InstWrapper inst5{env.vulkan_functions}; in TEST()
3750 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
3753 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3754 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3755 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3756 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3757 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3758 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3759 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3760 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3761 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3762 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3763 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3764 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name m… in TEST()
3768 env.debug_log.clear(); in TEST()
3771 InstWrapper inst6{env.vulkan_functions}; in TEST()
3773 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
3776 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3777 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3778 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3779 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3780 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3781 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3782 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3783 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3784 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3785 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3786 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3787 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name m… in TEST()
3791 env.debug_log.clear(); in TEST()
3794 InstWrapper inst7{env.vulkan_functions}; in TEST()
3796 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
3799 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3800 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3801 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3802 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3803 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3804 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3805 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3806 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3807 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3808 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3809 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3810 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name m… in TEST()
3814 env.debug_log.clear(); in TEST()
3817 InstWrapper inst8{env.vulkan_functions}; in TEST()
3819 FillDebugUtilsCreateDetails(inst8.create_info, env.debug_log); in TEST()
3822 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3823 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3824 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3825 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3826 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3827 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3828 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3829 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3830 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3831 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3… in TEST()
3832 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3833 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name m… in TEST()
3837 env.debug_log.clear(); in TEST()
3840 InstWrapper inst9{env.vulkan_functions}; in TEST()
3842 FillDebugUtilsCreateDetails(inst9.create_info, env.debug_log); in TEST()
3845 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3846 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3847 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3848 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3849 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3850 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3851 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3852 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3853 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3854 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3855 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3856 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3862 FrameworkEnvironment env; in TEST() local
3863 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
3868 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3876 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3884 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
3894 InstWrapper inst1{env.vulkan_functions}; in TEST()
3896 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
3899 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3900 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
3901 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3902 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3903 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3904 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3905 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3906 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3907 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3908 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3909 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to … in TEST()
3910 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3914 env.debug_log.clear(); in TEST()
3918 InstWrapper inst2{env.vulkan_functions}; in TEST()
3919 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
3922 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3923 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3924 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3925 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
3926 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3927 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
3928 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
3929 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
3930 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3931 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3932 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3933 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3937 env.debug_log.clear(); in TEST()
3941 InstWrapper inst3{env.vulkan_functions}; in TEST()
3942 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
3945 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3946 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3947 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3948 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3949 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3950 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3951 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3952 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3953 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3954 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3955 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3956 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3960 env.debug_log.clear(); in TEST()
3964 InstWrapper inst4{env.vulkan_functions}; in TEST()
3965 FillDebugUtilsCreateDetails(inst4.create_info, env.debug_log); in TEST()
3968 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3969 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3970 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3971 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3972 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3973 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3974 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3975 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3976 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
3977 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
3978 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
3979 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
3983 env.debug_log.clear(); in TEST()
3987 InstWrapper inst5{env.vulkan_functions}; in TEST()
3988 FillDebugUtilsCreateDetails(inst5.create_info, env.debug_log); in TEST()
3991 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
3992 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
3993 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
3994 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
3995 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
3996 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
3997 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
3998 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
3999 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
4000 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
4001 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
4002 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
4006 env.debug_log.clear(); in TEST()
4010 InstWrapper inst6{env.vulkan_functions}; in TEST()
4012 FillDebugUtilsCreateDetails(inst6.create_info, env.debug_log); in TEST()
4015 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4016 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
4017 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4018 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
4019 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
4020 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
4021 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
4022 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
4023 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
4024 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
4025 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
4026 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
4030 env.debug_log.clear(); in TEST()
4034 InstWrapper inst7{env.vulkan_functions}; in TEST()
4036 FillDebugUtilsCreateDetails(inst7.create_info, env.debug_log); in TEST()
4039 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4040 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
4041 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
4042 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
4043 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
4044 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
4045 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to e… in TEST()
4046 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
4047 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_3)); in TEST()
4048 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_3)… in TEST()
4049 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "forced enabled due to e… in TEST()
4050 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_3, "disabled because name … in TEST()
4056 FrameworkEnvironment env; in TEST() local
4057 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4062 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4070 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4080 InstWrapper inst1{env.vulkan_functions}; in TEST()
4082 FillDebugUtilsCreateDetails(inst1.create_info, env.debug_log); in TEST()
4085 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4086 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
4087 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4088 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
4089 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
4090 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
4091 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
4092 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
4096 env.debug_log.clear(); in TEST()
4099 InstWrapper inst2{env.vulkan_functions}; in TEST()
4101 FillDebugUtilsCreateDetails(inst2.create_info, env.debug_log); in TEST()
4104 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4105 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1)… in TEST()
4106 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4107 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name … in TEST()
4108 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
4109 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2)… in TEST()
4110 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
4111 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name … in TEST()
4115 env.debug_log.clear(); in TEST()
4118 InstWrapper inst3{env.vulkan_functions}; in TEST()
4120 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
4123 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4124 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_1… in TEST()
4125 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4126 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
4127 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_2)); in TEST()
4128 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer", explicit_layer_name_2… in TEST()
4129 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "forced enabled due to … in TEST()
4130 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_2, "disabled because name m… in TEST()
4135 FrameworkEnvironment env; in TEST() local
4136 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
4139 env.add_explicit_layer( in TEST()
4146 InstWrapper inst{env.vulkan_functions}; in TEST()
4147 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4151 …env.debug_log.find("Layer \"VK_LAYER_I_dont_exist\" was not found but was requested by env var VK_… in TEST()
4155 env.debug_log.clear(); in TEST()
4158 InstWrapper inst{env.vulkan_functions}; in TEST()
4159 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4162 …env.debug_log.find("Layer \"VK_LAYER_I_dont_exist\" was not found but was requested by env var VK_… in TEST()
4166 // Make sure that if the layer appears twice in the env-var nothing bad happens in TEST()
4167 env.debug_log.clear(); in TEST()
4170 InstWrapper inst{env.vulkan_functions}; in TEST()
4171 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4174 …env.debug_log.find("Layer \"VK_LAYER_I_dont_exist\" was not found but was requested by env var VK_… in TEST()
4182 FrameworkEnvironment env; in TEST() local
4183 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA)).add_physical_device({}); in TEST()
4186 env.add_explicit_layer( in TEST()
4196 InstWrapper inst{env.vulkan_functions}; in TEST()
4197 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4204 FrameworkEnvironment env; in TEST() local
4205 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4210 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4216 env.debug_log.clear(); in TEST()
4219 ASSERT_NO_FATAL_FAILURE(env.GetLayerProperties(0)); in TEST()
4221 InstWrapper inst3{env.vulkan_functions}; in TEST()
4223 FillDebugUtilsCreateDetails(inst3.create_info, env.debug_log); in TEST()
4226 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4227 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_… in TEST()
4228 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4229 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name m… in TEST()
4233 FrameworkEnvironment env; in TEST() local
4234 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4239 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4244 env.add_implicit_layer( in TEST()
4252 env.debug_log.clear(); in TEST()
4255 auto layers = env.GetLayerProperties(1); in TEST()
4258 { // both override layer and Disable env var in TEST()
4259 InstWrapper inst{env.vulkan_functions}; in TEST()
4260 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4262 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4263 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_… in TEST()
4264 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4266 …env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name matches filte… in TEST()
4268 env.debug_log.clear(); in TEST()
4270 InstWrapper inst{env.vulkan_functions}; in TEST()
4272 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4274 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4275 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_… in TEST()
4276 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4278 …env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name matches filte… in TEST()
4283 FrameworkEnvironment env; in TEST() local
4284 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4289 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4294 env.add_implicit_layer( in TEST()
4302 env.debug_log.clear(); in TEST()
4305 auto layers = env.GetLayerProperties(1); in TEST()
4308 { // both override layer and Disable env var in TEST()
4309 InstWrapper inst{env.vulkan_functions}; in TEST()
4310 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4312 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4313 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_… in TEST()
4314 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4316 …env.debug_log.find_prefix_then_postfix(lunarg_meta_layer_name, "disabled because name matches filt… in TEST()
4318 env.debug_log.clear(); in TEST()
4320 InstWrapper inst{env.vulkan_functions}; in TEST()
4322 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4324 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4325 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_1… in TEST()
4326 …ASSERT_FALSE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to … in TEST()
4328 …env.debug_log.find_prefix_then_postfix(lunarg_meta_layer_name, "disabled because name matches filt… in TEST()
4333 FrameworkEnvironment env; in TEST() local
4334 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4339 env.add_explicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4344 env.add_implicit_layer( in TEST()
4352 env.debug_log.clear(); in TEST()
4355 auto layers = env.GetLayerProperties(1); in TEST()
4358 InstWrapper inst{env.vulkan_functions}; in TEST()
4359 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4361 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_1… in TEST()
4362 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4363 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
4365 …env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name matches filte… in TEST()
4367 env.debug_log.clear(); in TEST()
4369 InstWrapper inst{env.vulkan_functions}; in TEST()
4371 FillDebugUtilsCreateDetails(inst.create_info, env.debug_log); in TEST()
4373 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Insert instance layer ", explicit_layer_name_1… in TEST()
4374 … ASSERT_TRUE(env.debug_log.find_prefix_then_postfix("Found manifest file", explicit_json_name_1)); in TEST()
4375 …ASSERT_TRUE(env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "forced enabled due to e… in TEST()
4377 …env.debug_log.find_prefix_then_postfix(explicit_layer_name_1, "disabled because name matches filte… in TEST()
4383 FrameworkEnvironment env; in TEST() local
4384 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4389 env.add_explicit_layer( in TEST()
4401 InstWrapper inst1{env.vulkan_functions}; in TEST()
4418 InstWrapper inst2{env.vulkan_functions}; in TEST()
4443 FrameworkEnvironment env; in TEST() local
4444 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4449 env.add_explicit_layer( in TEST()
4459 InstWrapper inst{env.vulkan_functions}; in TEST()
4480 FrameworkEnvironment env; in TEST() local
4481 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2_EXPORT_ICD_GPDPA, VK_API_VERSION_1_2)) in TEST()
4486 InstWrapper inst{env.vulkan_functions}; in TEST()
4496 FrameworkEnvironment env; in TEST() local
4497 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4504 auto& layer = env.get_test_layer(0); in TEST()
4509 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4531 InstWrapper inst{env.vulkan_functions}; in TEST()
4573 FrameworkEnvironment env; in TEST() local
4574 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4581 auto& layer = env.get_test_layer(0); in TEST()
4586 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4608 InstWrapper inst{env.vulkan_functions}; in TEST()
4623 FrameworkEnvironment env; in TEST() local
4624 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4631 auto& layer = env.get_test_layer(0); in TEST()
4636 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4658 InstWrapper inst{env.vulkan_functions}; in TEST()
4673 FrameworkEnvironment env; in TEST() local
4674 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4681 auto& layer = env.get_test_layer(0); in TEST()
4686 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4708 InstWrapper inst{env.vulkan_functions}; in TEST()
4749 FrameworkEnvironment env; in TEST() local
4750 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4757 auto& layer = env.get_test_layer(0); in TEST()
4762 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4784 InstWrapper inst{env.vulkan_functions}; in TEST()
4835 FrameworkEnvironment env; in TEST() local
4837 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4844 auto& layer = env.get_test_layer(0); in TEST()
4849 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4871 InstWrapper inst{env.vulkan_functions}; in TEST()
4888 FrameworkEnvironment env; in TEST() local
4889 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4896 auto& layer = env.get_test_layer(0); in TEST()
4901 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4923 InstWrapper inst{env.vulkan_functions}; in TEST()
4940 FrameworkEnvironment env; in TEST() local
4941 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
4948 auto& layer = env.get_test_layer(0); in TEST()
4953 …env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2, VK_API_VERSION_1_2)).set_icd_api_version(VK_AP… in TEST()
4975 InstWrapper inst{env.vulkan_functions}; in TEST()
5013 FrameworkEnvironment env; in TEST() local
5014 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
5016 env.add_explicit_layer( in TEST()
5023 InstWrapper inst{env.vulkan_functions}; in TEST()
5031 InstWrapper inst{env.vulkan_functions}; in TEST()
5040 InstWrapper inst{env.vulkan_functions}; in TEST()
5047 InstWrapper inst{env.vulkan_functions}; in TEST()
5055 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
5059 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
5061 env.update_loader_settings(env.loader_settings); in TEST()
5063 InstWrapper inst{env.vulkan_functions}; in TEST()
5070 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
5071 env.update_loader_settings(env.loader_settings); in TEST()
5073 InstWrapper inst{env.vulkan_functions}; in TEST()
5079 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
5080 env.update_loader_settings(env.loader_settings); in TEST()
5082 InstWrapper inst{env.vulkan_functions}; in TEST()
5090 FrameworkEnvironment env; in TEST() local
5091 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
5094 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
5103 InstWrapper inst{env.vulkan_functions}; in TEST()
5112 InstWrapper inst{env.vulkan_functions}; in TEST()
5122 InstWrapper inst{env.vulkan_functions}; in TEST()
5129 InstWrapper inst{env.vulkan_functions}; in TEST()
5137 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
5141 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
5143 env.update_loader_settings(env.loader_settings); in TEST()
5145 InstWrapper inst{env.vulkan_functions}; in TEST()
5152 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
5153 env.update_loader_settings(env.loader_settings); in TEST()
5155 InstWrapper inst{env.vulkan_functions}; in TEST()
5161 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
5162 env.update_loader_settings(env.loader_settings); in TEST()
5164 InstWrapper inst{env.vulkan_functions}; in TEST()
5171 env.remove_loader_settings(); in TEST()
5177 InstWrapper inst{env.vulkan_functions}; in TEST()
5185 InstWrapper inst{env.vulkan_functions}; in TEST()
5194 InstWrapper inst{env.vulkan_functions}; in TEST()
5201 InstWrapper inst{env.vulkan_functions}; in TEST()
5209 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
5213 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
5215 env.update_loader_settings(env.loader_settings); in TEST()
5217 InstWrapper inst{env.vulkan_functions}; in TEST()
5223 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
5224 env.update_loader_settings(env.loader_settings); in TEST()
5226 InstWrapper inst{env.vulkan_functions}; in TEST()
5232 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
5233 env.update_loader_settings(env.loader_settings); in TEST()
5235 InstWrapper inst{env.vulkan_functions}; in TEST()
5243 FrameworkEnvironment env; in TEST() local
5244 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
5247 env.add_implicit_layer(ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
5257 InstWrapper inst{env.vulkan_functions}; in TEST()
5265 InstWrapper inst{env.vulkan_functions}; in TEST()
5274 InstWrapper inst{env.vulkan_functions}; in TEST()
5281 InstWrapper inst{env.vulkan_functions}; in TEST()
5289 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
5293 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
5295 env.update_loader_settings(env.loader_settings); in TEST()
5297 InstWrapper inst{env.vulkan_functions}; in TEST()
5304 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
5305 env.update_loader_settings(env.loader_settings); in TEST()
5307 InstWrapper inst{env.vulkan_functions}; in TEST()
5313 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
5314 env.update_loader_settings(env.loader_settings); in TEST()
5316 InstWrapper inst{env.vulkan_functions}; in TEST()
5322 env.remove_loader_settings(); in TEST()
5328 InstWrapper inst{env.vulkan_functions}; in TEST()
5337 InstWrapper inst{env.vulkan_functions}; in TEST()
5347 InstWrapper inst{env.vulkan_functions}; in TEST()
5354 InstWrapper inst{env.vulkan_functions}; in TEST()
5362 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
5366 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
5368 env.update_loader_settings(env.loader_settings); in TEST()
5370 InstWrapper inst{env.vulkan_functions}; in TEST()
5377 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
5378 env.update_loader_settings(env.loader_settings); in TEST()
5380 InstWrapper inst{env.vulkan_functions}; in TEST()
5386 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
5387 env.update_loader_settings(env.loader_settings); in TEST()
5389 InstWrapper inst{env.vulkan_functions}; in TEST()
5398 FrameworkEnvironment env; in TEST() local
5399 env.add_icd(TestICDDetails(TEST_ICD_PATH_VERSION_2)).add_physical_device({}); in TEST()
5402 …env.add_implicit_layer(TestLayerDetails{ManifestLayer{}.add_layer(ManifestLayer::LayerDescription{} in TEST()
5411 env.add_implicit_layer( in TEST()
5418 ….add_override_path(fs::make_native(env.get_folder(ManifestLocation::override_layer).location().str… in TEST()
5424 InstWrapper inst{env.vulkan_functions}; in TEST()
5434 InstWrapper inst{env.vulkan_functions}; in TEST()
5445 InstWrapper inst{env.vulkan_functions}; in TEST()
5453 InstWrapper inst{env.vulkan_functions}; in TEST()
5462 …env.loader_settings.add_app_specific_setting(AppSpecificSettings{}.add_stderr_log_filter("all").ad… in TEST()
5466 .set_path(env.get_shimmed_layer_manifest_path(0).str()) in TEST()
5468 env.update_loader_settings(env.loader_settings); in TEST()
5470 InstWrapper inst{env.vulkan_functions}; in TEST()
5477 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("off"); in TEST()
5478 env.update_loader_settings(env.loader_settings); in TEST()
5480 InstWrapper inst{env.vulkan_functions}; in TEST()
5486 … env.loader_settings.app_specific_settings.at(0).layer_configurations.at(0).set_control("auto"); in TEST()
5487 env.update_loader_settings(env.loader_settings); in TEST()
5489 InstWrapper inst{env.vulkan_functions}; in TEST()