Merge pull request #593 from asuessenbach/140

Update to and adjustments for VK_HEADER_VERSION 140.
This commit is contained in:
Andreas Süßenbach 2020-05-05 08:38:35 +02:00 committed by GitHub
commit f56e99e5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 965 additions and 9 deletions

@ -1 +1 @@
Subproject commit 4c19ae6b95e44c821d5306adf94842defa57ba21 Subproject commit 9250d5ae8f50202005233dc0512a1d460c8b4833

View File

@ -6236,7 +6236,10 @@ void VulkanHppGenerator::readStruct( tinyxml2::XMLElement const *
checkAttributes( line, checkAttributes( line,
attributes, attributes,
{ { "category", { isUnion ? "union" : "struct" } }, { "name", {} } }, { { "category", { isUnion ? "union" : "struct" } }, { "name", {} } },
{ { "comment", {} }, { "returnedonly", { "true" } }, { "structextends", {} } } ); { { "allowduplicate", { "true" } },
{ "comment", {} },
{ "returnedonly", { "true" } },
{ "structextends", {} } } );
std::vector<tinyxml2::XMLElement const *> children = getChildElements( element ); std::vector<tinyxml2::XMLElement const *> children = getChildElements( element );
checkElements( line, children, {}, { "member", "comment" } ); checkElements( line, children, {}, { "member", "comment" } );

File diff suppressed because it is too large Load Diff