summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2022-02-02 15:11:11 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-02-02 16:22:12 -0700
commitbb32aa13d4920261b5086219028ef329605d0126 (patch)
treef1e88bb5d7ddcb3ff345dc4ec31e2e30b4dc05c0
parentfafd0a8ae6cbac969ac554a45d50083bddec8b08 (diff)
downloadVulkan-Tools-bb32aa13d4920261b5086219028ef329605d0126.tar.gz
Vulkan-Tools-bb32aa13d4920261b5086219028ef329605d0126.tar.bz2
Vulkan-Tools-bb32aa13d4920261b5086219028ef329605d0126.zip
vulkaninfo: remove redundant str() in script
-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 c688f66f..1ddcc428 100644
--- a/scripts/vulkaninfo_generator.py
+++ b/scripts/vulkaninfo_generator.py
@@ -444,7 +444,7 @@ def PrintGetFlagStrings(name, bitmask):
if bitmask.options[0].value != "0":
out += f' if (value == 0) {{ strings.push_back("None"); return strings; }}\n'
for v in bitmask.options:
- out += f' if ({v.name} & value) strings.push_back("{str(v.name[3:])}");\n'
+ out += f' if ({v.name} & value) strings.push_back("{v.name[3:]}");\n'
out += f" return strings;\n}}\n"
return out