casey / casey/pxl

Move shader compilation outside of critical section

Open
#47 0 comments 0 reactions 0 assignees View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.