Home
last modified time | relevance | path

Searched refs:vulkan_functions (Results 1 – 16 of 16) sorted by relevance

/third_party/vulkan-loader/tests/
Dloader_wsi_tests.cpp42 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 …]
Dloader_handle_validation_tests.cpp48 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 …]
Dloader_layer_tests.cpp32 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 …]
Dloader_debug_ext_tests.cpp86 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 …]
Dloader_alloc_callback_tests.cpp207 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 …]
Dloader_get_proc_addr_tests.cpp36 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 …]
Dloader_envvar_tests.cpp54 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 …]
Dloader_unknown_ext_tests.cpp354 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 …]
Dloader_version_tests.cpp39 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 …]
Dloader_regression_tests.cpp44 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 …]
Dloader_phys_dev_inst_ext_tests.cpp65 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 …]
Dloader_threading_tests.cpp38 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/
Dtest_util.cpp632 DeviceFunctions::DeviceFunctions(const VulkanFunctions& vulkan_functions, VkDevice device) { in DeviceFunctions() argument
633 vkGetDeviceProcAddr = vulkan_functions.vkGetDeviceProcAddr; in DeviceFunctions()
Dtest_environment.h375 VulkanFunctions vulkan_functions; member
Dtest_environment.cpp189 …rkEnvironment(bool enable_log) noexcept : platform_shim(&folders, enable_log), vulkan_functions() { in FrameworkEnvironment()
Dtest_util.h775 DeviceFunctions(const VulkanFunctions& vulkan_functions, VkDevice device);