aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2019-10-04 15:02:31 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2019-10-07 09:11:25 -0600
commit9626dd32702f1bf9c44008a8d32a1e4a6f81f941 (patch)
tree23d12f209196b56ddaf2ca641f164566217c0b37 /scripts
parent623d1cc06173a7e209affe6030311abc464beb74 (diff)
downloadusermoji-9626dd32702f1bf9c44008a8d32a1e4a6f81f941.tar.xz
vulkaninfo: fix extra newlines
A slight oversight in the output meant there were extra newlines in pNext chain traversal. This makes sure only one newline is printer per item in the chain. files modified: - vulkaninfo/generated/vulkaninfo.hpp - scripts/vulkaninfo_generator.py Change-Id: I3b3cac55c3e90d0b3f59e70fab9c4f56473c6dd6
Diffstat (limited to 'scripts')
-rw-r--r--scripts/vulkaninfo_generator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vulkaninfo_generator.py b/scripts/vulkaninfo_generator.py
index 10d5cac2..318ecd51 100644
--- a/scripts/vulkaninfo_generator.py
+++ b/scripts/vulkaninfo_generator.py
@@ -599,9 +599,9 @@ def PrintChainIterator(listName, structures, checkExtLoc):
"("+s.name+"*)structure;\n"
out += " Dump" + s.name + \
"(p, \"" + s.name + "\", *props);\n"
+ out += " p.AddNewline();\n"
out += " }\n"
out += AddGuardFooter(s)
- out += " p.AddNewline();\n"
out += " place = structure->pNext;\n"
out += " }\n"
out += "}\n"