In some cases, our tasks happen to work out of sheer luck. For instance, the descriptor set generation is not bound to the processResources task in any way. This may cause the tasks to be executed out of order, which leads to missing descriptors at runtime.
We should enforce the correct ordering, even if it's unlikely that it'll break. API for such enforcement is Task.mustRunAfter, Task.dependsOn, and Task.finilizedBy.
In some cases, our tasks happen to work out of sheer luck. For instance, the descriptor set generation is not bound to the
processResourcestask in any way. This may cause the tasks to be executed out of order, which leads to missing descriptors at runtime.We should enforce the correct ordering, even if it's unlikely that it'll break. API for such enforcement is
Task.mustRunAfter,Task.dependsOn, andTask.finilizedBy.