aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2024-03-15 16:23:00 -0500
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2024-03-16 11:32:12 -0500
commitb01c881e955072475fda4f557bd5ffe01dfcda45 (patch)
treee497676b59e9df54d6bce6040f560d25f9604fba /scripts
parent72b43a6d5b483eaaf739e23fe041209b3880908a (diff)
downloadusermoji-b01c881e955072475fda4f557bd5ffe01dfcda45.tar.xz
vulkaninfo: Add quotes around NULL
Used PrintKeyValue instead of PrintKeyString by mistake.
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 6da95966..a4b3238e 100644
--- a/scripts/vulkaninfo_generator.py
+++ b/scripts/vulkaninfo_generator.py
@@ -656,7 +656,7 @@ def PrintStructure(struct, types_to_gen):
out += ' }\n'
else: # dynamic array length based on other member
out += f' if (obj.{v.arrayLength} == 0) {{\n'
- out += f' p.PrintKeyValue("{v.name}", "NULL");\n'
+ out += f' p.PrintKeyString("{v.name}", "NULL");\n'
out += ' } else {\n'
out += f' ArrayWrapper arr(p,"{v.name}", obj.{v.arrayLength});\n'
out += f' for (uint32_t i = 0; i < obj.{v.arrayLength}; i++) {{\n'