vulkaninfo: Improve formatting of surface caps
authorCharles Giessen <charles@lunarg.com>
Thu, 10 Jun 2021 22:19:21 +0000 (16:19 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Fri, 11 Jun 2021 20:35:39 +0000 (13:35 -0700)
commit53231a96c0a69f03fd8a4d8770662df570ef9504
treef7d26e3e512f6fd115358049fe21046fa4e86cb5
parent9023ea7504c67be7f90294ab5f3ec247292f0f22
vulkaninfo: Improve formatting of surface caps

VkSurfaceCapabilities has the width & height way out to the right
while the rest of the structure doesn't. This makes it look inconsistent.

This PR also changes the layout of the flag and flagbit printers to return
earlier if possible.

Change-Id: I1b478838b3c95e33354d3daf13040e891454324e
scripts/vulkaninfo_generator.py
vulkaninfo/generated/vulkaninfo.hpp
vulkaninfo/outputprinter.h
vulkaninfo/vulkaninfo.cpp