Update to VK_HEADER_VERSION 165

This commit is contained in:
asuessenbach 2020-12-14 13:26:02 +01:00
parent 79ad327691
commit a0f6203570
3 changed files with 2 additions and 11 deletions

@ -1 +1 @@
Subproject commit fe9850767d00e46b230da6cfbc15eb86636017bd
Subproject commit 85470b32ad5d0d7d67fdf411b6e7b502c09c9c52

View File

@ -9161,15 +9161,6 @@ void VulkanHppGenerator::readStruct( tinyxml2::XMLElement const *
readStructMember( child, it->second.members, isUnion );
}
}
if ( name == "VkDescriptorSetAllocateInfo" )
{
// some very very very special handling for this struct: the "len" attribute for pSetLayouts has gone!
assert( ( it->second.members.size() == 5 ) && ( it->second.members[3].name == "descriptorSetCount" ) && ( it->second.members[4].name == "pSetLayouts" ));
warn( !it->second.members[4].len.empty(),
line,
"Missing attribute \"len\" for member <descriptorSetCount> in structure <VkDescriptorSetAllocateInfo>" );
it->second.members[4].len = { it->second.members[3].name };
}
it->second.subStruct = determineSubStruct( *it );
m_extendedStructs.insert( structExtends.begin(), structExtends.end() );

View File

@ -93,7 +93,7 @@ extern "C" __declspec( dllimport ) FARPROC __stdcall GetProcAddress( HINSTANCE h
# include <compare>
#endif
static_assert( VK_HEADER_VERSION == 164, "Wrong VK_HEADER_VERSION!" );
static_assert( VK_HEADER_VERSION == 165, "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