Extend the depends-handling in readExtension. (#1635)

This commit is contained in:
Andreas Süßenbach 2023-08-07 13:34:43 +02:00 committed by GitHub
parent 4bc9d80d82
commit 0e3e8967be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12755,6 +12755,8 @@ void VulkanHppGenerator::readExtension( tinyxml2::XMLElement const * element )
{
// currently, we map the few complex depends attributes to a canonical format!
const std::map<std::string, std::string> complexToCanonicalDepends = {
{ "(VK_EXT_filter_cubic)+(VK_VERSION_1_2,VK_EXT_sampler_filter_minmax)",
"VK_EXT_filter_cubic+VK_EXT_sampler_filter_minmax,VK_VERSION_1_2+VK_EXT_filter_cubic" },
{ "VK_KHR_swapchain+VK_KHR_get_surface_capabilities2+(VK_KHR_get_physical_device_properties2,VK_VERSION_1_1)",
"VK_KHR_swapchain+VK_KHR_get_surface_capabilities2+VK_KHR_get_physical_device_properties2,VK_VERSION_1_1+VK_KHR_swapchain+VK_KHR_get_surface_capabilities2" },
{ "((VK_KHR_bind_memory2+VK_KHR_get_physical_device_properties2+VK_KHR_sampler_ycbcr_conversion),VK_VERSION_1_1)+(VK_KHR_image_format_list,VK_VERSION_1_2)",