Vulkan-Tools icon indicating copy to clipboard operation
Vulkan-Tools copied to clipboard

vulkaninfo: Add --show-all-structs option

Open charles-lunarg opened this issue 8 months ago • 6 comments

This option restores behavior which will query all structs regardless of whether they were promoted or replaced by another struct. 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-all-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.

charles-lunarg avatar Jun 17 '24 19:06 charles-lunarg