Merge pull request #780 from asuessenbach/158

Update to VK_HEADER_VERSION 158.
This commit is contained in:
Andreas Süßenbach 2020-10-19 15:10:39 +02:00 committed by GitHub
commit d0717c5a48
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 985 additions and 82 deletions

@ -1 +1 @@
Subproject commit 04306fa5d673a69db5a79af80011c688b64d7711
Subproject commit 320af06cbdd29848e1d7100d9b8e4e517db1dfd5

View File

@ -6176,7 +6176,7 @@ std::string VulkanHppGenerator::appendStructMembers( std::string &
{
str += " = ";
auto enumIt = m_enums.find( member.type.type );
if ( enumIt != m_enums.end() && member.type.postfix.empty() )
if ( member.arraySizes.empty() && ( enumIt != m_enums.end() ) && member.type.postfix.empty() )
{
appendEnumInitializer( str, member.type, member.arraySizes, enumIt->second.values );
}

File diff suppressed because it is too large Load Diff