vulkaninfo: Fix VkPhysicalDeviceHostImageCopyPropertiesEXT
authorCharles Giessen <charles@lunarg.com>
Thu, 5 Oct 2023 19:44:18 +0000 (13:44 -0600)
committerCharles Giessen <46324611+charles-lunarg@users.noreply.github.com>
Thu, 5 Oct 2023 20:05:20 +0000 (14:05 -0600)
commitf49a190541473611a88a6a621c66471025bf7569
tree7112919e3c143ddd737d1a864d5c17530a87a177
parent8197ec6dae2d27744f0795769277a4e44717d33b
vulkaninfo: Fix VkPhysicalDeviceHostImageCopyPropertiesEXT

This struct has pointers to arrays which must be allocated by the user
before they can be filled out. Thus, to be able to query the properties,
vulkaninfo must call vkGetPhysicalDeviceProperties2 twice. Since there is
not an easy way to add this to the code generator, it is instead excluded
from the main pNext generation and hand written.
scripts/vulkaninfo_generator.py
vulkaninfo/generated/vulkaninfo.hpp
vulkaninfo/vulkaninfo.cpp