diff --git a/VulkanHppGenerator.cpp b/VulkanHppGenerator.cpp index 21a2ccf..1c51138 100644 --- a/VulkanHppGenerator.cpp +++ b/VulkanHppGenerator.cpp @@ -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 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;