mirror of
https://github.com/KhronosGroup/Vulkan-Hpp
synced 2024-11-10 14:40:07 +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
|
||||
{
|
||||
// it's a non-char vector (they are never optional)
|
||||
assert( !optional );
|
||||
//assert( !optional );
|
||||
if ( singular )
|
||||
{
|
||||
// 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 == "pAllocateInfo::descriptorSetCount" ) ||
|
||||
( it->len == "pAllocateInfo->commandBufferCount" ) ||
|
||||
( it->len == "pAllocateInfo::commandBufferCount" ) );
|
||||
( it->len == "pAllocateInfo::commandBufferCount" ) ||
|
||||
( it->len == "pBuildInfo->geometryCount")
|
||||
);
|
||||
}
|
||||
}
|
||||
return vectorParamIndices;
|
||||
|
Loading…
Reference in New Issue
Block a user