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

[pull] dev from mrdoob:dev #393

Merged
merged 4 commits into from
Dec 8, 2024
Merged

[pull] dev from mrdoob:dev #393

merged 4 commits into from
Dec 8, 2024

Conversation

pull[bot]
Copy link

@pull pull bot commented Dec 8, 2024

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.1)

Can you help keep this open source service alive? 💖 Please sponsor : )

sunag and others added 4 commits December 7, 2024 20:10
* Update WGSLNodeBuilder.js

Arrays are not currently taken into account by the wgslTypeLib. However, with the struct extension #29908, arrays will also become important as a type.

* enables the use of samplers in compute shaders

Since textureSampleLevel is usable in compute shaders, this small PR allows sampler to be used in compute shaders for this purpose

* Update WGSLNodeBuilder.js

* Update WGSLNodeBuilder.js
* add custom-cachekey

* docs

* doc
@pull pull bot added the ⤵️ pull label Dec 8, 2024
@pull pull bot merged commit c99f1e9 into vlakken:dev Dec 8, 2024
Copy link

github-actions bot commented Dec 8, 2024

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 339.11
78.98
339.11
78.98
+0 B
+0 B
WebGPU 485.96
134.92
485.96
134.92
+0 B
+0 B
WebGPU Nodes 485.43
134.82
485.43
134.82
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 465
112.04
465
112.04
+0 B
+0 B
WebGPU 555.36
150.4
555.36
150.4
+0 B
+0 B
WebGPU Nodes 511.21
140.1
511.21
140.1
+0 B
+0 B

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.

2 participants