From 9626dd32702f1bf9c44008a8d32a1e4a6f81f941 Mon Sep 17 00:00:00 2001 From: Charles Giessen Date: Fri, 4 Oct 2019 15:02:31 -0600 Subject: 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 --- scripts/vulkaninfo_generator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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" -- cgit v1.2.3