Fix messages in checkExtensionCorrectness (#1826)

This commit is contained in:
Andreas Süßenbach 2024-03-11 11:56:56 +01:00 committed by GitHub
parent e35acfe752
commit 695de1bc3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1366,13 +1366,13 @@ void VulkanHppGenerator::checkExtensionCorrectness() const
{
checkForError( isFeature( extension.deprecatedBy ) || isExtension( extension.deprecatedBy ),
extension.xmlLine,
"extension <" + extension.name + "> is deprecated by unknown extension/version <" + extension.promotedTo + ">" );
"extension <" + extension.name + "> is deprecated by unknown extension/version <" + extension.deprecatedBy + ">" );
}
if ( !extension.obsoletedBy.empty() )
{
checkForError( isFeature( extension.obsoletedBy ) || isExtension( extension.obsoletedBy ),
extension.xmlLine,
"extension <" + extension.name + "> is obsoleted by unknown extension/version <" + extension.promotedTo + ">" );
"extension <" + extension.name + "> is obsoleted by unknown extension/version <" + extension.obsoletedBy + ">" );
}
if ( !extension.promotedTo.empty() )
{