aboutsummaryrefslogtreecommitdiff
path: root/scripts/generate_vulkan_wrapper.py
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2022-10-27 14:14:27 -0600
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2022-10-28 17:43:29 -0600
commit292e6ed02141b015950d03390c6e8576b0673ef6 (patch)
tree1acd4b4783a3b1f9bfb9f51d2bf8cad4bbf8270c /scripts/generate_vulkan_wrapper.py
parentc09f4a4ee47174117e4cad075ae59ce25612fe45 (diff)
downloadusermoji-292e6ed02141b015950d03390c6e8576b0673ef6.tar.xz
vulkaninfo: Add Driver Version handling
Previously, driverVersion fields were treated as hex values, when in reality each vendor has their own specific format. This commit adds parsers for Nvidia, Intel (windows only), and relies on the Vulkan API format for everyone else. AMD uses the Vulkan API format. This change applies only to the summary, text, and html output. Add ostream<< operators for VulkanVersion and VkConformanceVersion, rather than having bespoke to_string functions. When printing versions, use the major.minor.patch as the primary output and put the uint32_t form of the version in parenthesis. This moves the more useful version info into the spotlight, putting the less useful in parenthesis. Rework the way secondary values (stuff in parenthesis after a value) are printed.
Diffstat (limited to 'scripts/generate_vulkan_wrapper.py')
0 files changed, 0 insertions, 0 deletions