| 1085 | } |
| 1086 | |
| 1087 | void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) { |
| 1088 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1089 | |
| 1090 | VkBufferCopy copyRegion{}; |
| 1091 | copyRegion.size = size; |
| 1092 | vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, 1, ©Region); |
| 1093 | |
| 1094 | endSingleTimeCommands(commandBuffer); |
| 1095 | } |
| 1096 | |
| 1097 | uint32_t findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties) { |
| 1098 | VkPhysicalDeviceMemoryProperties memProperties; |
nothing calls this directly
no outgoing calls
no test coverage detected