aboutsummaryrefslogtreecommitdiff
path: root/scripts/common_codegen.py
diff options
context:
space:
mode:
authorCharles Giessen <charles@lunarg.com>2024-06-17 14:48:29 -0500
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>2024-08-21 12:10:17 -0600
commit40294f25aa4522fe309504aaf30c1c259e11b75b (patch)
treef3d958977bec7b24cd21eacf325ff3baba716aa4 /scripts/common_codegen.py
parentf993f9722589d339a2e2766332b4d591157b5ade (diff)
downloadusermoji-40294f25aa4522fe309504aaf30c1c259e11b75b.tar.xz
vulkaninfo: Add --show-promoted-structs option
This option restores behavior that prints out structures which have been promoted to core vulkan and their members combined into the VkPhysicalDeviceVulkanXXX structs. For example, VkPhysicalDeviceVulkan12Features contains all of the features that VkPhysicalDeviceVulkanMemoryModelFeatures does, so only the former needs to be output. However, some users will want both structs present regardless and the --show-promoted-structs option allows that behavior. This commit also removes redundant checks when iterating the pNext chains while printing, as those same checks occur when the chain is being created, removing duplicate code-gen and runtime checks.
Diffstat (limited to 'scripts/common_codegen.py')
0 files changed, 0 insertions, 0 deletions