CesiumGS / CesiumGS/cesium

Use KHR_parallel_shader_compile when available

Open
#7,290 0 comments 0 reactions 0 assignees View on GitHub
category - graphics type - enhancement
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

Open the contributing 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.