Skip to content

WebGPURenderer: Fix getShaderAsync() render context retrieval#33733

Merged
sunag merged 2 commits into
mrdoob:devfrom
sunag:dev-tsl-editor
Jun 7, 2026
Merged

WebGPURenderer: Fix getShaderAsync() render context retrieval#33733
sunag merged 2 commits into
mrdoob:devfrom
sunag:dev-tsl-editor

Conversation

@sunag

@sunag sunag commented Jun 6, 2026

Copy link
Copy Markdown
Collaborator

Related issue: N/A

Description

This PR fixes a bug in Renderer.debug.getShaderAsync() where compilation failed or retrieved an incorrect render context, and updates the TSL Editor example to ensure smooth async compilation.

@sunag sunag added this to the r185 milestone Jun 6, 2026
@github-actions

github-actions Bot commented Jun 6, 2026

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 365.48
86.82
365.48
86.82
+0 B
+0 B
WebGPU 661.42
183.06
661.54
183.06
+116 B
+10 B
WebGPU Nodes 659.46
182.76
659.58
182.77
+116 B
+10 B

🌳 Bundle size after tree-shaking

Minimal build including a renderer, camera, empty scene, and dependencies.

Before After Diff
WebGL 507.15
123.31
507.15
123.31
+0 B
+0 B
WebGPU 740.02
199.19
740.14
199.2
+116 B
+9 B
WebGPU Nodes 689.24
186.53
689.36
186.54
+116 B
+11 B

@sunag sunag marked this pull request as ready for review June 6, 2026 23:59
@sunag sunag merged commit 168fb81 into mrdoob:dev Jun 7, 2026
15 of 16 checks passed
@sunag sunag deleted the dev-tsl-editor branch June 7, 2026 00:04
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