/third_party/vulkan-loader/tests/framework/icd/ |
D | test_icd.cpp | 76 …[extension_name](Extension const& ext) { return string_eq(&ext.extensionName[0], extension_name); … in IsInstanceExtensionSupported() 82 …[extension_name](Extension const& ext) { return string_eq(&ext.extensionName[0], extension_name); … in IsInstanceExtensionEnabled() 986 if (string_eq(pName, "test_vkEnumerateInstanceVersion")) { in get_instance_func_ver_1_1() 989 if (string_eq(pName, "vkEnumeratePhysicalDeviceGroups")) { in get_instance_func_ver_1_1() 1004 if (string_eq(pName, "vkGetPhysicalDeviceSurfaceSupportKHR")) in get_physical_device_func_wsi() 1006 if (string_eq(pName, "vkGetPhysicalDeviceSurfaceCapabilitiesKHR")) in get_physical_device_func_wsi() 1008 if (string_eq(pName, "vkGetPhysicalDeviceSurfaceFormatsKHR")) in get_physical_device_func_wsi() 1010 if (string_eq(pName, "vkGetPhysicalDeviceSurfacePresentModesKHR")) in get_physical_device_func_wsi() 1014 if (string_eq(pName, "vkGetPhysicalDeviceSurfaceCapabilities2KHR")) in get_physical_device_func_wsi() 1016 if (string_eq(pName, "vkGetPhysicalDeviceSurfaceFormats2KHR")) in get_physical_device_func_wsi() [all …]
|
/third_party/vulkan-loader/tests/framework/layer/ |
D | test_layer.cpp | 114 if (pLayerName && string_eq(pLayerName, TEST_LAYER_NAME)) { in test_vkEnumerateInstanceExtensionProperties() 129 if (pLayerName && string_eq(pLayerName, TEST_LAYER_NAME)) { in test_vkEnumerateDeviceExtensionProperties() 477 if (string_eq(pName, "vkGetDeviceProcAddr")) return to_vkVoidFunction(get_device_func); in get_device_func_impl() 478 if (string_eq(pName, "vkDestroyDevice")) return to_vkVoidFunction(test_vkDestroyDevice); in get_device_func_impl() 503 …if (string_eq(pName, "vkEnumerateDeviceLayerProperties")) return to_vkVoidFunction(test_vkEnumerat… in get_physical_device_func() 504 if (string_eq(pName, "vkEnumerateDeviceExtensionProperties")) in get_physical_device_func() 506 …if (string_eq(pName, "vkEnumeratePhysicalDevices")) return (PFN_vkVoidFunction)test_vkEnumeratePhy… in get_physical_device_func() 507 …if (string_eq(pName, "vkEnumeratePhysicalDeviceGroups")) return (PFN_vkVoidFunction)test_vkEnumera… in get_physical_device_func() 508 …if (string_eq(pName, "vkGetPhysicalDeviceProperties")) return (PFN_vkVoidFunction)test_vkGetPhysic… in get_physical_device_func() 523 …if (string_eq(pName, "vk_layerGetPhysicalDeviceProcAddr")) return to_vkVoidFunction(vk_layerGetPhy… in get_physical_device_func() [all …]
|
/third_party/vulkan-loader/tests/ |
D | loader_layer_tests.cpp | 315 EXPECT_TRUE(string_eq(layer_props.layerName, regular_layer_name)); in TEST() 423 EXPECT_TRUE(string_eq(layer_props.layerName, regular_layer_name)); in TEST() 517 EXPECT_TRUE(string_eq(extensions[0].extensionName, instance_ext_name)); in TEST() 560 EXPECT_TRUE(string_eq(extensions[0].extensionName, device_ext_name)); in TEST() 580 EXPECT_TRUE(string_eq(extensions[0].extensionName, device_ext_name)); in TEST() 611 EXPECT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 661 ASSERT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 662 ASSERT_TRUE(string_eq(layer_props[1].layerName, lunarg_meta_layer_name)); in TEST() 678 ASSERT_TRUE(string_eq(layer_props[0].layerName, regular_layer_name)); in TEST() 679 ASSERT_TRUE(string_eq(layer_props[1].layerName, lunarg_meta_layer_name)); in TEST() [all …]
|
D | loader_regression_tests.cpp | 161 ASSERT_TRUE(string_eq(layer_name_1, layer_props[0].layerName)); in TEST() 162 ASSERT_TRUE(string_eq(layer_name_2, layer_props[1].layerName)); in TEST() 172 ASSERT_TRUE(string_eq(layer_name_1, layer_props[0].layerName)); in TEST() 173 ASSERT_TRUE(string_eq(layer_name_2, layer_props[1].layerName)); in TEST() 179 ASSERT_TRUE(string_eq(layer_name_1, layer_props.layerName)); in TEST() 201 ASSERT_TRUE(string_eq("VK_EXT_debug_report", extensions[2].extensionName)); in TEST() 202 ASSERT_TRUE(string_eq("VK_EXT_debug_utils", extensions[3].extensionName)); in TEST() 203 ASSERT_TRUE(string_eq("VK_KHR_portability_enumeration", extensions[4].extensionName)); in TEST() 217 ASSERT_TRUE(string_eq("VK_EXT_debug_report", extensions[2].extensionName)); in TEST() 218 ASSERT_TRUE(string_eq("VK_EXT_debug_utils", extensions[3].extensionName)); in TEST() [all …]
|
D | loader_phys_dev_inst_ext_tests.cpp | 5364 …if (string_eq(VK_KHR_PERFORMANCE_QUERY_EXTENSION_NAME, &device_extensions[ext].extensionName[0])) { in TEST() 5367 … if (string_eq(VK_EXT_SAMPLE_LOCATIONS_EXTENSION_NAME, &device_extensions[ext].extensionName[0])) { in TEST() 5370 …if (string_eq(VK_EXT_CALIBRATED_TIMESTAMPS_EXTENSION_NAME, &device_extensions[ext].extensionName[0… in TEST()
|
/third_party/vulkan-loader/tests/framework/ |
D | test_util.h | 494 bool string_eq(const char* a, const char* b) noexcept; 495 bool string_eq(const char* a, const char* b, size_t len) noexcept; 835 … return string_eq(a.layerName, b.layerName, 256) && string_eq(a.description, b.description, 256) && 841 return string_eq(a.extensionName, b.extensionName, 256) && a.specVersion == b.specVersion; 856 if (string_eq(*(expected.begin() + i), elem.layerName)) { in check_permutation() 871 if (string_eq(*(expected.begin() + i), elem.layerName)) { in check_permutation() 883 … [name](VkExtensionProperties const& elem) { return string_eq(name, elem.extensionName); }); in contains() 887 … [name](VkLayerProperties const& elem) { return string_eq(name, elem.layerName); }); in contains()
|
D | test_util.cpp | 375 … if (!string_eq(file_name_utf8.c_str(), ".") && !string_eq(file_name_utf8.c_str(), "..")) { in delete_folder_contents() 397 if (string_eq(file->d_name, ".") || string_eq(file->d_name, "..")) continue; in delete_folder_contents() 517 bool string_eq(const char* a, const char* b) noexcept { return strcmp(a, b) == 0; } in string_eq() function 518 bool string_eq(const char* a, const char* b, size_t len) noexcept { return strncmp(a, b, len) == 0;… in string_eq() function
|
D | test_environment.cpp | 460 if (string_eq(api_selection, "VK_USE_PLATFORM_MACOS_MVK")) { in create_surface() 467 if (string_eq(api_selection, "VK_USE_PLATFORM_METAL_EXT")) { in create_surface() 490 if (string_eq(api_selection, "VK_USE_PLATFORM_XCB_KHR")) { in create_surface() 497 if (string_eq(api_selection, "VK_USE_PLATFORM_XLIB_KHR")) { in create_surface() 504 if (string_eq(api_selection, "VK_USE_PLATFORM_WAYLAND_KHR")) { in create_surface()
|
/third_party/vulkan-loader/tests/live_verification/ |
D | dynamic_rendering_get_proc_addr.cpp | 46 if (string_eq("VK_KHR_dynamic_rendering", ext.extensionName)) { in main()
|