Skip to content

Draft: render/vulkan: add upload thread

Simon Ser requested to merge emersion/wlroots:vk-upload-thread into master

Unlike !4321, 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.


  • 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

Merge request reports