Resolve warning on a struct with multiple array members with the same len. (#1543)

This commit is contained in:
Andreas Süßenbach 2023-03-27 11:06:47 +02:00 committed by GitHub
parent beb3f6f35e
commit cfed28c23d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12969,7 +12969,8 @@ void VulkanHppGenerator::readTypeStruct( tinyxml2::XMLElement const * element, b
static std::set<std::string> mutualExclusiveStructs = { static std::set<std::string> mutualExclusiveStructs = {
"VkAccelerationStructureBuildGeometryInfoKHR", "VkAccelerationStructureTrianglesOpacityMicromapEXT", "VkMicromapBuildInfoEXT", "VkWriteDescriptorSet" "VkAccelerationStructureBuildGeometryInfoKHR", "VkAccelerationStructureTrianglesOpacityMicromapEXT", "VkMicromapBuildInfoEXT", "VkWriteDescriptorSet"
}; };
static std::set<std::string> multipleLenStructs = { "VkImageConstraintsInfoFUCHSIA", static std::set<std::string> multipleLenStructs = { "VkAccelerationStructureTrianglesDisplacementMicromapNV",
"VkImageConstraintsInfoFUCHSIA",
"VkIndirectCommandsLayoutTokenNV", "VkIndirectCommandsLayoutTokenNV",
"VkPresentInfoKHR", "VkPresentInfoKHR",
"VkSemaphoreWaitInfo", "VkSemaphoreWaitInfo",