Asynchronous cleanup #9
Loading…
Reference in New Issue
There is no content yet.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may exist for a short time before cleaning up, in most cases it CANNOT be undone. Continue?
Right now we have to
vkWaitForFences
inside ofVULKAN_Submit
so that we can rotate resources, reset descriptor sets, etc. This is mostly fine in single-window scenarios but in multi-window it means we waste a lot of time waiting on operations that shouldn't really be waited on.We can probably have one idle thread per window that gets kicked off at the end of
Submit
that does the wait and then cleans up. We'll need to wall certain resources off with mutexes but it's a lot better than blocking the main thread on every submission.Resolved by
0319c26f6a