Remove restriction on get-commands to start with 'vkGet'

This commit is contained in:
asuessenbach 2021-09-14 08:37:27 +02:00
parent 71696cb748
commit f17ff86a97

View File

@ -5030,13 +5030,10 @@ std::string VulkanHppGenerator::generateCommandSetVoid0Vector( std::string const
}
else if ( commandData.params[returnParamIndices[0]].type.type != "void" )
{
if ( beginsWith( name, "vkGet" ) )
{
return generateCommandSetStandardEnhanced(
definition,
generateCommandStandard( name, commandData, initialSkipCount, definition ),
generateCommandVoidGetValue( name, commandData, initialSkipCount, definition, {}, returnParamIndices[0] ) );
}
return generateCommandSetStandardEnhanced(
definition,
generateCommandStandard( name, commandData, initialSkipCount, definition ),
generateCommandVoidGetValue( name, commandData, initialSkipCount, definition, {}, returnParamIndices[0] ) );
}
}
return "";