Remove image layout transitions

This commit is contained in:
Patrick Nicolas
2026-04-11 16:55:02 +02:00
parent 74e94c75e8
commit fe414c4450
8 changed files with 29 additions and 29 deletions
+2 -2
View File
@@ -445,7 +445,7 @@ std::pair<bool, vk::Semaphore> video_encoder_va::present_image(vk::Image y_cbcr,
cmd_buf.copyImage(
y_cbcr,
vk::ImageLayout::eTransferSrcOptimal,
vk::ImageLayout::eGeneral,
*in[slot].luma,
vk::ImageLayout::eTransferDstOptimal,
vk::ImageCopy{
@@ -466,7 +466,7 @@ std::pair<bool, vk::Semaphore> video_encoder_va::present_image(vk::Image y_cbcr,
cmd_buf.copyImage(
y_cbcr,
vk::ImageLayout::eTransferSrcOptimal,
vk::ImageLayout::eGeneral,
*in[slot].chroma,
vk::ImageLayout::eTransferDstOptimal,
vk::ImageCopy{