Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TSL: Add vertexStage() function #30173

Merged
merged 3 commits into from
Dec 20, 2024
Merged

TSL: Add vertexStage() function #30173

merged 3 commits into from
Dec 20, 2024

Conversation

sunag
Copy link
Collaborator

@sunag sunag commented Dec 20, 2024

Description

Adds an alternative to varying() but without the name parameter.
This should make it easier to understand through the name proposed in the function.

@sunag sunag added this to the r172 milestone Dec 20, 2024
Copy link

github-actions bot commented Dec 20, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.4
79.05
339.4
79.05
+0 B
+0 B
WebGPU 487
135.07
487.05
135.09
+48 B
+17 B
WebGPU Nodes 486.46
134.99
486.51
134.99
+48 B
+4 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465.3
112.11
465.3
112.11
+0 B
+0 B
WebGPU 557.18
150.77
557.21
150.78
+29 B
+10 B
WebGPU Nodes 513.25
140.55
513.28
140.56
+29 B
+9 B

@sunag sunag marked this pull request as ready for review December 20, 2024 04:41
@sunag sunag changed the title TSL: Add vertexStage() TSL: Add vertexStage() function Dec 20, 2024
@sunag sunag merged commit 3d26186 into mrdoob:dev Dec 20, 2024
12 checks passed
@sunag sunag deleted the dev-vertexStage branch December 20, 2024 05:11
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