mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04: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>