mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-08 21:50:08 +00:00
correct value-check of parameters
+ add missing array sizes for parameters
This commit is contained in:
parent
557434e037
commit
865069ccc3
@ -3764,7 +3764,8 @@ std::string VulkanHppGenerator::constructArgumentListEnhanced( std::vector<Param
|
||||
}
|
||||
else
|
||||
{
|
||||
argumentList += "VULKAN_HPP_NAMESPACE::" + stripPrefix( params[i].type.type, "Vk" ) + " " + params[i].name;
|
||||
argumentList += "VULKAN_HPP_NAMESPACE::" + stripPrefix( params[i].type.type, "Vk" ) + " " + params[i].name +
|
||||
constructCArraySizes( params[i].arraySizes );
|
||||
}
|
||||
}
|
||||
else
|
||||
|
@ -93,7 +93,7 @@ private:
|
||||
|
||||
bool isValue() const
|
||||
{
|
||||
return prefix.empty() && postfix.empty();
|
||||
return ( ( prefix.find( '*' ) == std::string::npos ) && ( postfix.find( '*' ) == std::string::npos ) );
|
||||
}
|
||||
|
||||
std::string prefix;
|
||||
|
Loading…
Reference in New Issue
Block a user