Skip to content

NodeBuilder: Fix shared group detection.#32913

Merged
sunag merged 1 commit into
mrdoob:devfrom
Mugen87:dev1
Jan 31, 2026
Merged

NodeBuilder: Fix shared group detection.#32913
sunag merged 1 commit into
mrdoob:devfrom
Mugen87:dev1

Conversation

@Mugen87
Copy link
Copy Markdown
Collaborator

@Mugen87 Mugen87 commented Jan 31, 2026

Related issue: -

Description

Caching of bind groups in WebGPURenderer does not work as expected. There are multiple issues, one of them is fixed by this PR.

To detect whether a bind group is shared or not, all bindings must have a sharable group node. The detection for this is currently inverted.

@github-actions
Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.21
85.29
359.21
85.29
+0 B
+0 B
WebGPU 623.33
173.16
623.32
173.16
-5 B
+0 B
WebGPU Nodes 621.91
172.92
621.9
172.92
-5 B
-1 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 490.47
119.49
490.47
119.49
+0 B
+0 B
WebGPU 689.99
186.35
689.99
186.35
-5 B
+0 B
WebGPU Nodes 639.37
173.75
639.37
173.75
-5 B
+1 B

@sunag sunag added this to the r183 milestone Jan 31, 2026
@sunag sunag merged commit 686e56a into mrdoob:dev Jan 31, 2026
10 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