mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Remove restriction on get-commands to start with 'vkGet'
This commit is contained in:
parent
71696cb748
commit
f17ff86a97
@ -5029,8 +5029,6 @@ std::string VulkanHppGenerator::generateCommandSetVoid0Vector( std::string const
|
|||||||
generateCommandVoidGetChain( name, commandData, initialSkipCount, definition, returnParamIndices[0] ) );
|
generateCommandVoidGetChain( name, commandData, initialSkipCount, definition, returnParamIndices[0] ) );
|
||||||
}
|
}
|
||||||
else if ( commandData.params[returnParamIndices[0]].type.type != "void" )
|
else if ( commandData.params[returnParamIndices[0]].type.type != "void" )
|
||||||
{
|
|
||||||
if ( beginsWith( name, "vkGet" ) )
|
|
||||||
{
|
{
|
||||||
return generateCommandSetStandardEnhanced(
|
return generateCommandSetStandardEnhanced(
|
||||||
definition,
|
definition,
|
||||||
@ -5038,7 +5036,6 @@ std::string VulkanHppGenerator::generateCommandSetVoid0Vector( std::string const
|
|||||||
generateCommandVoidGetValue( name, commandData, initialSkipCount, definition, {}, returnParamIndices[0] ) );
|
generateCommandVoidGetValue( name, commandData, initialSkipCount, definition, {}, returnParamIndices[0] ) );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
return "";
|
return "";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user