mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +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
|
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
|
else
|
||||||
|
@ -93,7 +93,7 @@ private:
|
|||||||
|
|
||||||
bool isValue() const
|
bool isValue() const
|
||||||
{
|
{
|
||||||
return prefix.empty() && postfix.empty();
|
return ( ( prefix.find( '*' ) == std::string::npos ) && ( postfix.find( '*' ) == std::string::npos ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string prefix;
|
std::string prefix;
|
||||||
|
Loading…
Reference in New Issue
Block a user