vulkaninfo: use patch version from instance
authorCharles Giessen <charles@lunarg.com>
Tue, 28 Jan 2020 03:44:52 +0000 (20:44 -0700)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Tue, 28 Jan 2020 17:33:52 +0000 (10:33 -0700)
commitebe1b7497acbcf05d460f03827cf3870845cd7b7
tree912318161276129e99bd6037153a0673521361d3
parente39b5cf6a1b674cd4ff354ca60c6019874a6b15b
vulkaninfo: use patch version from instance

When the original vkEnumerateInstanceVersion was implemented, the loader always return
0 for the patch. This has since been corrected, but in the mean time vulkaninfo used the
hardcoded VK_HEADER_VERSION to get the patch information. Now vulkaninfo will use the
patch version from the instance, unless it is zero, in which it will then fallback
to VK_HEADER_VERSION's patch.

Changes to be committed:
modified:   vulkaninfo/vulkaninfo.h

Change-Id: If0a63534253afadccbad50c6256cdef8016222c1
vulkaninfo/vulkaninfo.h