Update for VulkanSC-Docs 1.0.11

This commit is contained in:
Jon Leech
2022-09-12 21:02:44 -07:00
parent 87e53f6cc7
commit 39a669f332
7 changed files with 408 additions and 92 deletions

View File

@@ -274,6 +274,8 @@ class COutputGenerator(OutputGenerator):
body += self.genOpts.apientry + noneStr(elem.tail)
else:
body += noneStr(elem.text) + noneStr(elem.tail)
if category == 'define' and self.misracppstyle():
body = body.replace("(uint32_t)", "static_cast<uint32_t>")
if body:
# Add extra newline after multi-line entries.
if '\n' in body[0:-1]: