mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-19 22:11:01 +01:00
148: Change Queue::submit to take &self r=kvark a=LaylConway This small change allows multiple threads to submit buffers slightly more efficiently, by being able to do it concurrently without a lock on Queue. In practice currently `Queue::submit` does a lot of locking internally for most of the function's duration, so it's only a small performance win right now, but it opens up the road for more improvements. Co-authored-by: Layl <2385329-layl@users.noreply.gitlab.com>