Skip to content

WebGPURenderer: Fix issues in WebXR caused by texture array work.#31099

Merged
Mugen87 merged 1 commit into
mrdoob:devfrom
cabanier:xr-fixes
May 14, 2025
Merged

WebGPURenderer: Fix issues in WebXR caused by texture array work.#31099
Mugen87 merged 1 commit into
mrdoob:devfrom
cabanier:xr-fixes

Conversation

@cabanier

Copy link
Copy Markdown
Contributor

84b6feb introduced a couple of regressions in WebXR. This also fixes an issue where layers were drawn upside down after exiting WebXR.

cc @Mugen87

@github-actions

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 337.26
78.64
337.26
78.64
+0 B
+0 B
WebGPU 549.21
152.28
549.52
152.34
+314 B
+50 B
WebGPU Nodes 548.56
152.13
548.87
152.18
+314 B
+51 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 467.34
112.95
467.34
112.95
+0 B
+0 B
WebGPU 624.12
169.01
624.43
169.06
+314 B
+47 B
WebGPU Nodes 578.97
158.31
579.28
158.35
+314 B
+45 B

@mrdoob mrdoob requested a review from Mugen87 May 14, 2025 07:55
@Mugen87 Mugen87 merged commit a4fb5e0 into mrdoob:dev May 14, 2025
12 checks passed
@Mugen87 Mugen87 added this to the r177 milestone May 14, 2025
@Mugen87 Mugen87 changed the title Fix issues in WebXR caused by texture array work WebGPURenderer: Fix issues in WebXR caused by texture array work. May 14, 2025
@Mugen87

Mugen87 commented May 14, 2025

Copy link
Copy Markdown
Collaborator

Updated builds, 980d7ca.

Comment thread src/renderers/common/Renderer.js
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.

3 participants