Lines Matching refs:descriptorVector
312 void UpdateDescriptorSetsBuilder::growDescriptorCapacity(std::vector<T> *descriptorVector, in growDescriptorCapacity() argument
315 const T *const oldInfoStart = descriptorVector->empty() ? nullptr : &(*descriptorVector)[0]; in growDescriptorCapacity()
316 size_t newCapacity = std::max(descriptorVector->capacity() << 1, newSize); in growDescriptorCapacity()
317 descriptorVector->reserve(newCapacity); in growDescriptorCapacity()
327 set.*pInfo = &(*descriptorVector)[index]; in growDescriptorCapacity()
334 T *UpdateDescriptorSetsBuilder::allocDescriptorInfos(std::vector<T> *descriptorVector, size_t count) in allocDescriptorInfos() argument
336 size_t oldSize = descriptorVector->size(); in allocDescriptorInfos()
338 if (newSize > descriptorVector->capacity()) in allocDescriptorInfos()
342 growDescriptorCapacity<T, pInfo>(descriptorVector, newSize); in allocDescriptorInfos()
344 descriptorVector->resize(newSize); in allocDescriptorInfos()
345 return &(*descriptorVector)[oldSize]; in allocDescriptorInfos()