fix build without vulkan encode

This commit is contained in:
Patrick Nicolas
2024-11-10 16:46:28 +01:00
parent 6943fa82d2
commit 308535a0f1
+2
View File
@@ -551,6 +551,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
present_done_sem.push_back(sem);
}
#if WIVRN_USE_VULKAN_ENCODE
if (need_queue_transfer)
{
vk::ImageMemoryBarrier barrier{
@@ -576,6 +577,7 @@ static VkResult comp_wivrn_present(struct comp_target * ct,
barrier);
submit_info.setSignalSemaphores(present_done_sem);
}
#endif
command_buffer.end();
submit_info.setCommandBuffers(*command_buffer);