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
3 changed files with 985 additions and 82 deletions

View File

@@ -6176,7 +6176,7 @@ std::string VulkanHppGenerator::appendStructMembers( std::string &
{ {
str += " = "; str += " = ";
auto enumIt = m_enums.find( member.type.type ); 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 ); appendEnumInitializer( str, member.type, member.arraySizes, enumIt->second.values );
} }

File diff suppressed because it is too large Load Diff