Move shader compilation outside of critical section
Open
enhancement
- Dominant language
- Rust
- Stars
- 32
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Currently, shader compilation and linking happens while holding the program lock. The audio callback may thus have to wait for shader compilation to complete, which could result in a buffer underrun if it takes too long.
Ideally we should do shader compilation after releasing the lock.
Contributor guide
Assessment
This issue has not been assessed yet.