vulkaninfo: bitmask printers check for 0 value
authorCharles Giessen <charles@lunarg.com>
Tue, 30 Nov 2021 05:44:05 +0000 (22:44 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 2 Feb 2022 23:22:12 +0000 (16:22 -0700)
commitcc0a0325deac7a20532766840edbed5167c2b183
tree5d26f18d6ee82e3f6351c0c07ad48120f2b93869
parent7a132ba4df38473423a2e1c0d212df2134bebc77
vulkaninfo: bitmask printers check for 0 value

Only generate the early exit if there doesn't exist an bitmask which has a
value of 0. For example, VK_RESOLVE_MODE_NONE has a value of 0, but it would
never be printed without this special case.
scripts/vulkaninfo_generator.py
vulkaninfo/generated/vulkaninfo.hpp