Skip to content

Phase 1: Build GPU effect kernels lazily - #9

Merged
Brent001 merged 2 commits into
mainfrom
phase1/lazy-effect-kernels
Oct 20, 2026
Merged

Brent001 merged 2 commits into
mainfrom
phase1/lazy-effect-kernels

Conversation

@Brent001

Copy link
Copy Markdown
Owner

Phase 1 — GPU startup/performance

Port upstream PR storytold#1705 to avoid compiling all ~208 effect kernels during GPU context startup. Kernel families are built on first use from smaller WGSL modules; failures remain eligible for CPU fallback instead of blocking first window presentation.

Source: storytold#1705

This is intentionally isolated because it touches crates/gpu/src/context.rs, which is also affected by subsequent GPU-cache work. Check Windows DX12/FXC, Vulkan, browser/WASM, and CPU fallback paths before merging.

@Brent001
Brent001 merged commit 6ba298d into main Oct 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant