| 1016 | } |
| 1017 | |
| 1018 | void copyBuffer(VkBuffer srcBuffer, VkBuffer dstBuffer, VkDeviceSize size) { |
| 1019 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1020 | |
| 1021 | VkBufferCopy copyRegion{}; |
| 1022 | copyRegion.size = size; |
| 1023 | vkCmdCopyBuffer(commandBuffer, srcBuffer, dstBuffer, 1, ©Region); |
| 1024 | |
| 1025 | endSingleTimeCommands(commandBuffer); |
| 1026 | } |
| 1027 | |
| 1028 | uint32_t findMemoryType(uint32_t typeFilter, VkMemoryPropertyFlags properties) { |
| 1029 | VkPhysicalDeviceMemoryProperties memProperties; |
nothing calls this directly
no outgoing calls
no test coverage detected