| 1302 | } |
| 1303 | |
| 1304 | void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) { |
| 1305 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1306 | |
| 1307 | VkBufferCopy copyRegion{}; |
| 1308 | copyRegion.size = size; |
| 1309 | vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, 1, ©Region); |
| 1310 | |
| 1311 | endSingleTimeCommands(commandBuffer); |
| 1312 | } |
| 1313 | |
| 1314 | uint32_t findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties) { |
| 1315 | VkPhysicalDeviceMemoryProperties memProperties; |
nothing calls this directly
no outgoing calls
no test coverage detected