Update to VK_HEADER_VERSION 172.

This commit is contained in:
asuessenbach 2021-03-09 09:13:32 +01:00
parent 2e66b9101a
commit 3a776dd1d8
3 changed files with 8 additions and 3 deletions

@ -1 +1 @@
Subproject commit c428484bc886f60efd98334b80ea777ae2e24089 Subproject commit 89d366355e6fe1221c9be40bb2cf3716449e9a7e

View File

@ -119,7 +119,12 @@ namespace vk
vk::DeviceCreateInfo deviceCreateInfo( {}, deviceQueueCreateInfo, {}, enabledExtensions, physicalDeviceFeatures ); vk::DeviceCreateInfo deviceCreateInfo( {}, deviceQueueCreateInfo, {}, enabledExtensions, physicalDeviceFeatures );
deviceCreateInfo.pNext = pNext; deviceCreateInfo.pNext = pNext;
return physicalDevice.createDevice( deviceCreateInfo ); vk::Device device = physicalDevice.createDevice( deviceCreateInfo );
#if ( VULKAN_HPP_DISPATCH_LOADER_DYNAMIC == 1 )
// initialize function pointers for instance
VULKAN_HPP_DEFAULT_DISPATCHER.init( device );
#endif
return device;
} }
std::vector<vk::Framebuffer> createFramebuffers( vk::Device const & device, std::vector<vk::Framebuffer> createFramebuffers( vk::Device const & device,

View File

@ -93,7 +93,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# include <compare> # include <compare>
#endif #endif
static_assert( VK_HEADER_VERSION == 171, "Wrong VK_HEADER_VERSION!" ); static_assert( VK_HEADER_VERSION == 172, "Wrong VK_HEADER_VERSION!" );
// 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default. // 32-bit vulkan is not typesafe for handles, so don't allow copy constructors on this platform by default.
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION // To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION