mirror of
https://github.com/KhronosGroup/Vulkan-Hpp.git
synced 2024-10-14 16:32:17 +00:00
Add support for optional non-char arrays
This commit is contained in:
parent
8958396a0c
commit
e2066fa002
@ -2767,7 +2767,7 @@ void VulkanHppGenerator::appendFunctionHeaderArgumentEnhancedVector( std::string
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// it's a non-char vector (they are never optional)
|
// it's a non-char vector (they are never optional)
|
||||||
assert( !optional );
|
//assert( !optional );
|
||||||
if ( singular )
|
if ( singular )
|
||||||
{
|
{
|
||||||
// in singular case, change from pointer to reference
|
// in singular case, change from pointer to reference
|
||||||
@ -4571,7 +4571,9 @@ std::map<size_t, size_t> VulkanHppGenerator::determineVectorParamIndices( std::v
|
|||||||
( it->len == "null-terminated" ) || ( it->len == "pAllocateInfo->descriptorSetCount" ) ||
|
( it->len == "null-terminated" ) || ( it->len == "pAllocateInfo->descriptorSetCount" ) ||
|
||||||
( it->len == "pAllocateInfo::descriptorSetCount" ) ||
|
( it->len == "pAllocateInfo::descriptorSetCount" ) ||
|
||||||
( it->len == "pAllocateInfo->commandBufferCount" ) ||
|
( it->len == "pAllocateInfo->commandBufferCount" ) ||
|
||||||
( it->len == "pAllocateInfo::commandBufferCount" ) );
|
( it->len == "pAllocateInfo::commandBufferCount" ) ||
|
||||||
|
( it->len == "pBuildInfo->geometryCount")
|
||||||
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return vectorParamIndices;
|
return vectorParamIndices;
|
||||||
|
Loading…
Reference in New Issue
Block a user