In Kotlin, I almost wonder if you could use the continuations API to construct VkCommandBuffer procedurally using a DSL and have them automatically resolve resources used and map into a submittable VkCommandBuffer by evaluating the full continuation.
Similarly in Rust, a VkFence signal Future could use an atomic semaphore to signal from an IO dispatcher that it has become unblocked as a result of a successful await on the VkFence, so the next call to poll will be Poll::Ready(()). Then, you can do any sort of async programming around it.
has poor taste in video games
yes you can follow request
please ask in a DM for discord/other app to contact me directly. DMs here are not a great direct medium
avatar by @pinnapop@twitter.com