| 1055 | } |
| 1056 | |
| 1057 | void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) { |
| 1058 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1059 | |
| 1060 | VkBufferCopy copyRegion{}; |
| 1061 | copyRegion.size = size; |
| 1062 | vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, 1, ©Region); |
| 1063 | |
| 1064 | endSingleTimeCommands(commandBuffer); |
| 1065 | } |
| 1066 | |
| 1067 | uint32_t findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties) { |
| 1068 | VkPhysicalDeviceMemoryProperties memProperties; |
nothing calls this directly
no outgoing calls
no test coverage detected