Skip to content

WebGPUConstants: Add Missing Features#31323

Merged
sunag merged 1 commit into
mrdoob:devfrom
cmhhelgeson:cmh/webgpu_add_features
Jun 28, 2025
Merged

WebGPUConstants: Add Missing Features#31323
sunag merged 1 commit into
mrdoob:devfrom
cmhhelgeson:cmh/webgpu_add_features

Conversation

@cmhhelgeson

Copy link
Copy Markdown
Contributor

Description

Add references to new GPU features as defined by the WebGPU spec: https://www.w3.org/TR/webgpu/#feature-index

@github-actions

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.71
78.77
337.71
78.77
+0 B
+0 B
WebGPU 557.6
154.28
557.9
154.38
+306 B
+98 B
WebGPU Nodes 556.52
154.07
556.83
154.17
+306 B
+102 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 468.94
113.46
468.94
113.46
+0 B
+0 B
WebGPU 632.96
171.3
633.27
171.37
+306 B
+74 B
WebGPU Nodes 588.01
160.61
588.32
160.71
+306 B
+94 B

@sunag sunag added this to the r178 milestone Jun 28, 2025
@sunag sunag changed the title WebGPU - Add Missing Features WebGPUConstants: Add Missing Features Jun 28, 2025
@sunag sunag merged commit aedea2b into mrdoob:dev Jun 28, 2025
19 of 20 checks 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.

2 participants