/third_party/vulkan-loader/tests/ |
D | loader_wsi_tests.cpp | 42 InstWrapper inst{env.vulkan_functions}; in TEST() 46 InstWrapper inst2{env.vulkan_functions}; in TEST() 49 …ASSERT_EQ(nullptr, env.vulkan_functions.vkGetInstanceProcAddr(inst2.inst, "vkCreateWin32SurfaceKHR… in TEST() 63 InstWrapper inst{env.vulkan_functions}; in TEST() 69 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(inst, &surf_create_info, nullpt… in TEST() 73 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST() 87 InstWrapper inst{env.vulkan_functions}; in TEST() 93 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkCreateWin32SurfaceKHR(inst, &surf_create_info, nullpt… in TEST() 97 env.vulkan_functions.vkDestroySurfaceKHR(inst, surface, nullptr); in TEST() 116 InstWrapper instance(env.vulkan_functions); in TEST() [all …]
|
D | loader_handle_validation_tests.cpp | 48 InstWrapper instance(env.vulkan_functions); in TEST() 54 …ASSERT_DEATH(env.vulkan_functions.vkEnumeratePhysicalDevices(bad_instance, &returned_physical_coun… in TEST() 64 InstWrapper instance(env.vulkan_functions); in TEST() 68 … ASSERT_DEATH(env.vulkan_functions.vkGetInstanceProcAddr(bad_instance, "vkGetBufferDeviceAddress"), in TEST() 78 InstWrapper instance(env.vulkan_functions); in TEST() 83 ASSERT_DEATH(env.vulkan_functions.vkDestroyInstance(bad_instance, nullptr), in TEST() 96 InstWrapper instance(env.vulkan_functions); in TEST() 102 ASSERT_DEATH(env.vulkan_functions.vkDestroySurfaceKHR(bad_instance, VK_NULL_HANDLE, nullptr), in TEST() 115 InstWrapper instance(env.vulkan_functions); in TEST() 126 …ASSERT_DEATH(env.vulkan_functions.vkCreateHeadlessSurfaceEXT(bad_instance, &surf_create_info, null… in TEST() [all …]
|
D | loader_layer_tests.cpp | 32 InstWrapper inst{env.vulkan_functions}; in CheckLogForLayerString() 61 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 107 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 122 InstWrapper inst{env.vulkan_functions}; in TEST() 154 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 161 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceLayerProperties(&count, nullptr)); in TEST() 191 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST() 198 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceExtensionProperties(nullptr, &count,… in TEST() 232 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST() 239 ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumerateInstanceVersion(&version)); in TEST() [all …]
|
D | loader_debug_ext_tests.cpp | 86 return env->vulkan_functions.vkCreateInstance(&create_info, nullptr, inst); in CreateReportInstance() 91 env->vulkan_functions.vkGetInstanceProcAddr(inst, "vkCreateDebugReportCallbackEXT")); in CreateReportCallback() 105 env->vulkan_functions.vkGetInstanceProcAddr(inst, "vkDestroyDebugReportCallbackEXT")); in DestroyReportCallback() 145 env->vulkan_functions.vkDestroyInstance(inst, nullptr); in TEST_F() 160 env->vulkan_functions.vkDestroyInstance(inst, nullptr); in TEST_F() 176 env->vulkan_functions.vkDestroyInstance(inst, nullptr); in TEST_F() 194 …ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, nullptr, nullptr), VK_ERROR_INITI… in TEST_F() 196 env->vulkan_functions.vkDestroyInstance(inst, nullptr); in TEST_F() 216 …ASSERT_EQ(env->vulkan_functions.vkEnumeratePhysicalDevices(inst, nullptr, nullptr), VK_ERROR_INITI… in TEST_F() 220 env->vulkan_functions.vkDestroyInstance(inst, nullptr); in TEST_F() [all …]
|
D | loader_alloc_callback_tests.cpp | 207 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 221 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 241 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 267 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 281 …env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_device, &returned_family_co… in TEST() 285 …env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_device, &returned_family_co… in TEST() 315 InstWrapper inst{env.vulkan_functions, tracker.get()}; in TEST() 329 …env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_device, &returned_family_co… in TEST() 333 …env.vulkan_functions.vkGetPhysicalDeviceQueueFamilyProperties(physical_device, &returned_family_co… in TEST() 372 InstWrapper inst{env.vulkan_functions}; in TEST() [all …]
|
D | loader_get_proc_addr_tests.cpp | 36 InstWrapper inst{env.vulkan_functions}; in TEST() 42 PFN_vkGetInstanceProcAddr gipa_loader = env.vulkan_functions.vkGetInstanceProcAddr; in TEST() 44 env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetInstanceProcAddr")); in TEST() 49 InstWrapper inst{env.vulkan_functions}; in TEST() 55 PFN_vkGetInstanceProcAddr gipa_loader = env.vulkan_functions.vkGetInstanceProcAddr; in TEST() 57 env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "vkGetInstanceProcAddr")); in TEST() 68 InstWrapper inst{env.vulkan_functions}; in TEST() 75 PFN_vkGetDeviceProcAddr gdpa_loader = env.vulkan_functions.vkGetDeviceProcAddr; in TEST() 77 …reinterpret_cast<PFN_vkGetDeviceProcAddr>(env.vulkan_functions.vkGetInstanceProcAddr(inst.inst, "v… in TEST() 85 …reinterpret_cast<PFN_vkGetDeviceProcAddr>(env.vulkan_functions.vkGetDeviceProcAddr(dev.dev, "vkGet… in TEST() [all …]
|
D | loader_envvar_tests.cpp | 54 InstWrapper inst{env.vulkan_functions}; in TEST() 66 InstWrapper inst{env.vulkan_functions}; in TEST() 78 InstWrapper inst{env.vulkan_functions}; in TEST() 87 InstWrapper inst{env.vulkan_functions}; in TEST() 100 InstWrapper inst{env.vulkan_functions}; in TEST() 112 InstWrapper inst1{env.vulkan_functions}; in TEST() 131 InstWrapper inst2{env.vulkan_functions}; in TEST() 143 InstWrapper inst3{env.vulkan_functions}; in TEST() 162 InstWrapper inst{env.vulkan_functions}; in TEST() 189 InstWrapper inst{env.vulkan_functions}; in TEST() [all …]
|
D | loader_unknown_ext_tests.cpp | 354 InstWrapper inst{env.vulkan_functions}; in TEST() 358 …check_custom_functions(env.vulkan_functions, inst.inst, phys_dev, custom_physical_device_functions… in TEST() 390 InstWrapper inst{env.vulkan_functions}; in TEST() 396 env.vulkan_functions.vkGetPhysicalDeviceProperties(phys_devs[0], &props); in TEST() 402 …check_custom_functions(env.vulkan_functions, inst.inst, phys_dev_0, custom_physical_device_functio… in TEST() 404 …check_custom_functions(env.vulkan_functions, inst.inst, phys_dev_1, custom_physical_device_functio… in TEST() 436 InstWrapper inst{env.vulkan_functions}; in TEST() 441 env.vulkan_functions.vkGetPhysicalDeviceProperties(phys_devs[1], &props); in TEST() 446 env.vulkan_functions.load(inst.inst, function_names.at(0).c_str()); in TEST() 473 InstWrapper inst{env.vulkan_functions}; in TEST() [all …]
|
D | loader_version_tests.cpp | 39 InstWrapper inst{env.vulkan_functions}; in TEST() 53 InstWrapper inst{env.vulkan_functions}; in TEST() 61 InstWrapper inst{env.vulkan_functions}; in TEST() 69 InstWrapper inst{env.vulkan_functions}; in TEST() 81 InstWrapper inst{env.vulkan_functions}; in TEST() 125 InstWrapper inst{env.vulkan_functions}; in TEST() 129 …env.vulkan_functions.vkEnumeratePhysicalDevices(inst.inst, &returned_physical_count, physical_devi… in TEST() 159 InstWrapper inst{env.vulkan_functions}; in TEST() 162 …ASSERT_EQ(VK_SUCCESS, env.vulkan_functions.vkEnumeratePhysicalDevices(inst.inst, &returned_physica… in TEST() 165 …env.vulkan_functions.vkEnumeratePhysicalDevices(inst.inst, &returned_physical_count, physical_devi… in TEST() [all …]
|
D | loader_regression_tests.cpp | 44 InstWrapper inst{env.vulkan_functions}; in TEST() 54 ASSERT_EQ(env.vulkan_functions.vkCreateInstance(&info, VK_NULL_HANDLE, &inst), VK_SUCCESS); in TEST() 56 env.vulkan_functions.vkDestroyInstance(inst, nullptr); in TEST() 63 env.vulkan_functions.vkDestroyInstance(VK_NULL_HANDLE, nullptr); in TEST() 70 env.vulkan_functions.vkDestroyDevice(VK_NULL_HANDLE, nullptr); in TEST() 78 InstWrapper inst{env.vulkan_functions}; in TEST() 83 InstWrapper inst{env.vulkan_functions}; in TEST() 92 InstWrapper inst{env.vulkan_functions}; in TEST() 107 InstWrapper inst{env.vulkan_functions}; in TEST() 117 InstWrapper inst{env.vulkan_functions}; in TEST() [all …]
|
D | loader_phys_dev_inst_ext_tests.cpp | 65 InstWrapper instance(env.vulkan_functions); in TEST() 79 InstWrapper instance(env.vulkan_functions); in TEST() 96 InstWrapper instance(env.vulkan_functions); in TEST() 134 InstWrapper instance(env.vulkan_functions); in TEST() 171 InstWrapper instance(env.vulkan_functions); in TEST() 268 InstWrapper instance(env.vulkan_functions); in TEST() 413 InstWrapper instance(env.vulkan_functions); in TEST() 427 InstWrapper instance(env.vulkan_functions); in TEST() 444 InstWrapper instance(env.vulkan_functions); in TEST() 475 InstWrapper instance(env.vulkan_functions); in TEST() [all …]
|
D | loader_threading_tests.cpp | 38 InstWrapper inst{env->vulkan_functions}; in create_destroy_instance_loop_with_function_queries() 59 InstWrapper inst{env->vulkan_functions}; in create_destroy_device_loop()
|
/third_party/vulkan-loader/tests/framework/ |
D | test_util.cpp | 632 DeviceFunctions::DeviceFunctions(const VulkanFunctions& vulkan_functions, VkDevice device) { in DeviceFunctions() argument 633 vkGetDeviceProcAddr = vulkan_functions.vkGetDeviceProcAddr; in DeviceFunctions()
|
D | test_environment.h | 375 VulkanFunctions vulkan_functions; member
|
D | test_environment.cpp | 189 …rkEnvironment(bool enable_log) noexcept : platform_shim(&folders, enable_log), vulkan_functions() { in FrameworkEnvironment()
|
D | test_util.h | 775 DeviceFunctions(const VulkanFunctions& vulkan_functions, VkDevice device);
|