Draft: render/vulkan: add upload thread
Unlike !4321 (closed), this one actually works!
Unfortunately i915 seems to block in vkQueueSubmit
for any unmaterialized syncobjs. Still: allows us to do other stuff while uploading when the upload is not too close to our rendering, and other drivers may not behave like this.
TODO:
-
Update blocking stage submission as well -
Allow multiple data ptr accesses -
Stop abusing FDs for multi-thread queue -
Proper teardown/cleanup
Edited by Simon Ser