Skip to content

WebGPURenderer: Fall back to default texture when texture creation fails.#32853

Merged
sunag merged 1 commit into
mrdoob:devfrom
ycw:123
Jan 25, 2026
Merged

WebGPURenderer: Fall back to default texture when texture creation fails.#32853
sunag merged 1 commit into
mrdoob:devfrom
ycw:123

Conversation

@ycw

@ycw ycw commented Jan 25, 2026

Copy link
Copy Markdown
Contributor

Fixed #32852.

suggested by @Mugen87,

image

@github-actions

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 357.49
84.84
357.49
84.84
+0 B
+0 B
WebGPU 621.89
172.77
622.01
172.81
+119 B
+33 B
WebGPU Nodes 620.49
172.53
620.61
172.56
+119 B
+31 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 490.27
119.86
490.27
119.86
+0 B
+0 B
WebGPU 692.79
188.01
692.91
188.04
+120 B
+30 B
WebGPU Nodes 642.17
175.11
642.29
175.14
+120 B
+32 B

@Mugen87 Mugen87 changed the title webgpurenderer creates default texture instead when failed to create texture with unsupported descriptor WebGPURenderer: Fall back to default texture when texture creation fails. Jan 25, 2026
@Mugen87 Mugen87 added this to the r183 milestone Jan 25, 2026
@sunag sunag merged commit 433099f into mrdoob:dev Jan 25, 2026
10 checks passed
@ycw ycw deleted the 123 branch January 27, 2026 06:32
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.

WebGPU KTX2 example: crash on unsupported format

3 participants