mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-24 21:10:12 +00:00
Update to VK_HEADER_VERSION 172.
This commit is contained in:
parent
2e66b9101a
commit
3a776dd1d8
@ -1 +1 @@
|
||||
Subproject commit c428484bc886f60efd98334b80ea777ae2e24089
|
||||
Subproject commit 89d366355e6fe1221c9be40bb2cf3716449e9a7e
|
@ -119,7 +119,12 @@ namespace vk
|
||||
vk::DeviceCreateInfo deviceCreateInfo( {}, deviceQueueCreateInfo, {}, enabledExtensions, physicalDeviceFeatures );
|
||||
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,
|
||||
|
@ -93,7 +93,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
|
||||
# include <compare>
|
||||
#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.
|
||||
// To enable this feature on 32-bit platforms please define VULKAN_HPP_TYPESAFE_CONVERSION
|
||||
|
Loading…
Reference in New Issue
Block a user