vulkaninfo: handle previous driver versions
authorCharles Giessen <charles@lunarg.com>
Fri, 6 Dec 2019 21:26:35 +0000 (14:26 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Wed, 15 Jan 2020 23:19:54 +0000 (16:19 -0700)
commit4792a6854238ba3f6d10b8c7fcd11c102cae4ca6
treec9e40a0085cb708942ad93919759867c9e91bae8
parent2891eff13dd6191bb869a4bbcc8544fa3b3d86b8
vulkaninfo: handle previous driver versions

Previously vulkaninfo assumed it would be run on a device
with a matching version. Now the autogeneration detects the
vulkan version and only reports extensions and versions
supported by the device. It will also output the correct
name according to the version.

Much of the autogen script was modified. Vendor abbreviations were pulled
into the autogen, dumping enums now adds the width so it is aligned,
using the built in order of types to eliminate needing forward
definitions, and dead code removal.

Files modified:
scripts/vulkaninfo_generator.py
vulkaninfo/generated/vulkaninfo.hpp
vulkaninfo/vulkaninfo.cpp

Change-Id: Id05d909ead1950f1b80f6e44b6c163b3c2fed09a
scripts/vulkaninfo_generator.py
vulkaninfo/generated/vulkaninfo.hpp
vulkaninfo/vulkaninfo.cpp