Remove unused code

This commit is contained in:
Johannes Schneider 2024-07-10 14:11:12 +02:00
parent d0220181d0
commit e43eab99ec
No known key found for this signature in database
2 changed files with 0 additions and 117 deletions

View file

@ -1583,17 +1583,6 @@ static void PrintMemoryTypes()
}
}
#if 0
template<typename It, typename MapFunc>
inline VkDeviceSize MapSum(It beg, It end, MapFunc mapFunc)
{
VkDeviceSize result = 0;
for(It it = beg; it != end; ++it)
result += mapFunc(*it);
return result;
}
#endif
static bool CanCreateVertexBuffer(uint32_t allowedMemoryTypeBits)
{
VkBufferCreateInfo bufCreateInfo = { VK_STRUCTURE_TYPE_BUFFER_CREATE_INFO };