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

webgpu: add wgsl comment tag #29709

Merged
merged 1 commit into from
Oct 21, 2024
Merged

webgpu: add wgsl comment tag #29709

merged 1 commit into from
Oct 21, 2024

Conversation

linbingquan
Copy link
Contributor

Related issue: #XXXX

Description

Syntax highlight for wgsl template.

image

Copy link

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 692.71
171.44
692.71
171.44
+0 B
+0 B
WebGPU 817.93
220.59
817.93
220.59
+0 B
+0 B
WebGPU Nodes 817.44
220.46
817.44
220.46
+0 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 464.93
112.2
464.93
112.2
+0 B
+0 B
WebGPU 538.86
145.56
538.86
145.56
+0 B
+0 B
WebGPU Nodes 494.86
135.37
494.86
135.37
+0 B
+0 B
@Mugen87 Mugen87 added this to the r170 milestone Oct 21, 2024
@Mugen87 Mugen87 merged commit ad0dbfe into mrdoob:dev Oct 21, 2024
12 checks passed
@linbingquan linbingquan deleted the dev-wgsl branch October 22, 2024 01:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants