vulkano-rs / vulkano

Safe and rich Rust wrapper around the Vulkan API
Apache License 2.0
4.55k stars 438 forks source link

Fix deadlock after failed task graph execution #2603

Closed marc0246 closed 1 week ago

marc0246 commented 2 weeks ago

This fixes a deadlock that would occur when executing a task graph with some task failing arising due to the state guard being insufficient in that it didn't restore the current fence back to the signaled state, leading any subsequent wait on the flight to deadlock, including dropping Resources.