KhronosGroup / Vulkan-Tools

Vulkan Development Tools
Apache License 2.0
361 stars 153 forks source link

vulkaninfo: Ignoring VkPhysicalDeviceHostImageCopyPropertiesEXT for Vulkan Profile output #973

Closed christophe-lunarg closed 5 months ago

christophe-lunarg commented 5 months ago

In the Vulkan Profiles tools and vulkancapsviewer we made the call to ignore/disacard VkPhysicalDeviceHostImageCopyPropertiesEXT because it's definision causes issues. It's the only vkGetProperties struct that requires two passes to get the data. However, applications may chain the structs make the calls and have not way to deal with the intermediate results.

So currently vulkaninfo generate Vulkan Profiles that are invalid because it output VkPhysicalDeviceHostImageCopyPropertiesEXT. Could vulkaninfo skip this structure explicitly?

charles-lunarg commented 5 months ago

@christophe-lunarg PR is up, would appreciate a review so it can be merged.