mirror of
https://github.com/KhronosGroup/Vulkan-Utility-Libraries.git
synced 2025-05-31 08:57:57 +00:00
tests: Fix windows warnings
This commit is contained in:
parent
eb62fb38a5
commit
6fb0c125af
11 changed files with 350 additions and 347 deletions
|
@ -44,11 +44,13 @@ TEST(test_vk_dispatch_table, cpp_interface) {
|
|||
|
||||
vkuInitInstanceDispatchTable(instance, &instance_dispatch_table, local_vkGetInstanceProcAddr);
|
||||
|
||||
ASSERT_EQ(instance_dispatch_table.GetInstanceProcAddr, local_vkGetInstanceProcAddr);
|
||||
ASSERT_EQ(reinterpret_cast<PFN_vkVoidFunction>(instance_dispatch_table.GetInstanceProcAddr),
|
||||
reinterpret_cast<PFN_vkVoidFunction>(local_vkGetInstanceProcAddr));
|
||||
|
||||
VkDevice device{};
|
||||
|
||||
vkuInitDeviceDispatchTable(device, &device_dispatch_table, local_vkGetDeviceProcAddr);
|
||||
|
||||
ASSERT_EQ(device_dispatch_table.GetDeviceProcAddr, local_vkGetDeviceProcAddr);
|
||||
ASSERT_EQ(reinterpret_cast<PFN_vkVoidFunction>(device_dispatch_table.GetDeviceProcAddr),
|
||||
reinterpret_cast<PFN_vkVoidFunction>(local_vkGetDeviceProcAddr));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue