Open RA3236 opened 5 months ago
It should be better to let the user control then_signal_fence_and_flush
, and to get rid of that line. I don't think it's needed anymore, or if it ever was...
I'm also not sure what goes wrong in the synchronization, and would probably need more debugging.
I’m not so clear on why this happens, but this is fixed by heading to line 671 (line 673 for #53) in
renderer.rs
and replacing:with
i.e. not signalling and flushing. I'm not enough of a Vulkan expert to understand why this works - I think it has something to do with how the swapchain is set up. I don't know if this happens on the main branch here, but it definitely occurs on #53, and there aren't code changes that would suggest otherwise.
My submission code is as follows: