Update for Vulkan-Docs 1.2.185

This commit is contained in:
Jon Leech
2021-07-20 03:20:40 -07:00
committed by Jon Leech
parent 0193e158bc
commit 872fa25bb6
10 changed files with 8981 additions and 5928 deletions

View File

@@ -553,7 +553,7 @@ class OutputGenerator:
# Work around this by chasing the aliases to get the actual value.
while numVal is None:
alias = self.registry.tree.find("enums/enum[@name='" + strVal + "']")
(numVal, strVal) = self.enumToValue(alias, True)
(numVal, strVal) = self.enumToValue(alias, True, bitwidth, True)
decl += "static const {} {} = {};\n".format(flagTypeName, name, strVal)
if numVal is not None: