Skip to content

TSL: Add warnings to GPGPU Nodes - #34291

Open
cmhhelgeson wants to merge 4 commits into
mrdoob:devfrom
cmhhelgeson:cmh/new_warnings
Open

TSL: Add warnings to GPGPU Nodes#34291
cmhhelgeson wants to merge 4 commits into
mrdoob:devfrom
cmhhelgeson:cmh/new_warnings

Conversation

@cmhhelgeson

Copy link
Copy Markdown
Contributor

Description

Adds warnings to GPGPU nodes if they are being invoked in the wrong shader stages.

@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 372.35
87.91
372.35
87.91
+0 B
+0 B
WebGPU 699.78
193.05
700.24
193.19
+463 B
+141 B
WebGPU Nodes 697.76
192.75
698.23
192.88
+463 B
+139 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 515.77
124.87
515.77
124.87
+0 B
+0 B
WebGPU 773.91
207.85
774.27
207.94
+360 B
+86 B
WebGPU Nodes 722.87
195.19
723.23
195.28
+360 B
+87 B

@cmhhelgeson
cmhhelgeson marked this pull request as draft August 18, 2026 22:19
Comment thread src/nodes/gpgpu/AtomicFunctionNode.js Outdated
@cmhhelgeson
cmhhelgeson marked this pull request as ready for review August 19, 2026 23:57
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