Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[gl] reorder
program_cache
& context
lock acquisition
We are using `program_cache.try_lock()` when creting pipelines which is covered by a guard gotten from `context.lock()`. For the `.try_lock()` to always succeed we need to make sure that the other lock acquisitions are also covered by a `context.lock()`. The `wgpu_examples::hello_compute::tests::multithreaded_compute` test has been failing intermittently in CI due to this.
- Loading branch information