| 664 | template <vkb::BindingType bindingType> |
| 665 | inline void CommandBuffer<bindingType>::copy_buffer(vkb::core::Buffer<bindingType> const &src_buffer, |
| 666 | vkb::core::Buffer<bindingType> const &dst_buffer, |
| 667 | DeviceSizeType size) |
| 668 | { |
| 669 | if constexpr (bindingType == vkb::BindingType::Cpp) |
| 670 | { |
| 671 | copy_buffer_impl(src_buffer, dst_buffer, size); |
| 672 | } |
| 673 | else |
| 674 | { |
| 675 | copy_buffer_impl(reinterpret_cast<vkb::core::BufferCpp const &>(src_buffer), |
| 676 | reinterpret_cast<vkb::core::BufferCpp const &>(dst_buffer), |
| 677 | static_cast<vk::DeviceSize>(size)); |
| 678 | } |
| 679 | } |
no outgoing calls
no test coverage detected