| 1162 | } |
| 1163 | |
| 1164 | void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) { |
| 1165 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1166 | |
| 1167 | VkBufferCopy copyRegion{}; |
| 1168 | copyRegion.size = size; |
| 1169 | vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, 1, ©Region); |
| 1170 | |
| 1171 | endSingleTimeCommands(commandBuffer); |
| 1172 | } |
| 1173 | |
| 1174 | uint32_t findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties) { |
| 1175 | VkPhysicalDeviceMemoryProperties memProperties; |
nothing calls this directly
no outgoing calls
no test coverage detected