aboutsummaryrefslogtreecommitdiff
path: root/cube
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2023-11-10 11:29:52 -0700
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2023-11-15 12:26:36 -0700
commitd4f91cf4e25012aa868b4d8f009b299aea78b522 (patch)
tree546492577167a512bcde1f5ae0d84588a0dd27c2 /cube
parent90e25ec83a56f0e1c79480b934d7e255fde7869e (diff)
downloadusermoji-d4f91cf4e25012aa868b4d8f009b299aea78b522.tar.xz
vulkaninfo: Autogenerate Format list
The rewrite of vulkaninfo to use autogen did not include generating all possible VkFormats. This commit fixes that by generating the lists of formats and their corresponding extension/feature version requirements needed to correctly query their support. Use of std::set is explicit here since we want the output order to be consistent. std::set will use the enum values to sort it, giving a nice orderly output. Before, std::vector maintained the order in a similar fashion, but since it didn't de-duplicate, it could potentially print the same format many times.
Diffstat (limited to 'cube')
0 files changed, 0 insertions, 0 deletions