diff options
author | Charles Giessen <charles@lunarg.com> | 2022-02-02 15:11:11 -0700 |
---|---|---|
committer | Charles Giessen <46324611+charles-lunarg@users.noreply.github.com> | 2022-02-02 16:22:12 -0700 |
commit | bb32aa13d4920261b5086219028ef329605d0126 (patch) | |
tree | f1e88bb5d7ddcb3ff345dc4ec31e2e30b4dc05c0 | |
parent | fafd0a8ae6cbac969ac554a45d50083bddec8b08 (diff) | |
download | Vulkan-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.py | 2 |
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 |