| 1627 | } |
| 1628 | |
| 1629 | void VulkanBaseApp::copyBuffer(VkBuffer dst, VkBuffer src, VkDeviceSize size) |
| 1630 | { |
| 1631 | VkCommandBuffer commandBuffer = beginSingleTimeCommands(); |
| 1632 | |
| 1633 | VkBufferCopy copyRegion = {}; |
| 1634 | copyRegion.size = size; |
| 1635 | vkCmdCopyBuffer(commandBuffer, src, dst, 1, ©Region); |
| 1636 | |
| 1637 | endSingleTimeCommands(commandBuffer); |
| 1638 | } |
| 1639 | #ifdef _VK_TIMELINE_SEMAPHORE |
| 1640 | void VulkanBaseApp::drawFrame() |
| 1641 | { |
nothing calls this directly
no outgoing calls
no test coverage detected