| 1352 | } |
| 1353 | |
| 1354 | void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) { |
| 1355 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1356 | |
| 1357 | VkBufferCopy copyRegion{}; |
| 1358 | copyRegion.size = size; |
| 1359 | vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, 1, ©Region); |
| 1360 | |
| 1361 | endSingleTimeCommands(commandBuffer); |
| 1362 | } |
| 1363 | |
| 1364 | uint32_t findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties) { |
| 1365 | VkPhysicalDeviceMemoryProperties memProperties; |
nothing calls this directly
no outgoing calls
no test coverage detected