Fix vulkan error on queue transfer
Queue transfer acquire was performed by each encoder, it needs to be done only once, for the first one.
This commit is contained in:
@@ -63,7 +63,7 @@ wivrn::video_encoder_raw::video_encoder_raw(
|
||||
}
|
||||
}
|
||||
|
||||
std::pair<bool, vk::Semaphore> wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t)
|
||||
std::pair<bool, vk::Semaphore> wivrn::video_encoder_raw::present_image(vk::Image y_cbcr, bool transferred, vk::raii::CommandBuffer & cmd_buf, uint8_t slot, uint64_t)
|
||||
{
|
||||
std::array regions{
|
||||
vk::BufferImageCopy{
|
||||
|
||||
Reference in New Issue
Block a user