| 1621 | } |
| 1622 | |
| 1623 | void VulkanBaseApp::copyBuffer(VkBuffer dst, VkBuffer src, VkDeviceSize size) |
| 1624 | { |
| 1625 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1626 | |
| 1627 | VkBufferCopy copyRegion = {}; |
| 1628 | copyRegion.size = size; |
| 1629 | vkCmdCopyBuffer(commandBuffer, src, dst, 1, ©Region); |
| 1630 | |
| 1631 | endSingleTimeCommands(commandBuffer); |
| 1632 | } |
| 1633 | |
| 1634 | void VulkanBaseApp::drawFrame() |
| 1635 | { |
nothing calls this directly
no outgoing calls
no test coverage detected