Use KHR_parallel_shader_compile when available
- Dominant language
- JavaScript
- Stars
- 15.7k
- Forks
- 3.9k
- Avg merge
- 4d 6h
- Merged PRs (30d)
- 34
Description
This enables (multiple) shaders to be compiled on a separate thread. To fully take advantage of this, Cesium's renderer would need to be restructured a bit so it doesn't block right away waiting for the results of shader compile/link.
https://www.khronos.org/registry/webgl/extensions/KHR_parallel_shader_compile/
https://www.khronos.org/webgl/public-mailing-list/public_webgl/1811/msg00008.php
Contributor guide
Research direction
Start by reviewing Cesium's renderer flow for shader compilation and linking, then read the KHR_parallel_shader_compile extension specification and linked discussion. Done means the extension is used when available and shader compilation no longer blocks immediately while waiting for results.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- computer-graphics, performance
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100