Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Oct 27, 2025

Description

Improves shader validation and prevents WebGPUBackend from completely crashing if one of the shaders fails to compile.

@sunag sunag added this to the r181 milestone Oct 27, 2025
@github-actions
Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 350.11
84.81
350.11
84.81
+0 B
+0 B
WebGPU 604.78
169.56
605.06
169.68
+282 B
+119 B
WebGPU Nodes 603.39
169.32
603.67
169.44
+282 B
+115 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 481.77
119.56
481.77
119.56
+0 B
+0 B
WebGPU 674.15
185.03
674.44
185.15
+285 B
+117 B
WebGPU Nodes 616.15
168.26
616.43
168.38
+285 B
+121 B

@sunag sunag marked this pull request as ready for review October 27, 2025 18:42
@sunag sunag merged commit 158c1c4 into mrdoob:dev Oct 27, 2025
9 checks passed
@sunag sunag deleted the dev-release branch October 27, 2025 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant