tests: Fix windows warnings

This commit is contained in:
ziga-lunarg 2024-09-20 23:24:53 +02:00 committed by ziga-lunarg
parent eb62fb38a5
commit 6fb0c125af
11 changed files with 350 additions and 347 deletions

View file

@ -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));
}