Skip to content

WebGPURenderer: Improve compatibility test for reversed depth buffer.#33086

Closed
Mugen87 wants to merge 0 commit into
mrdoob:devfrom
Mugen87:dev5
Closed

WebGPURenderer: Improve compatibility test for reversed depth buffer.#33086
Mugen87 wants to merge 0 commit into
mrdoob:devfrom
Mugen87:dev5

Conversation

@Mugen87

@Mugen87 Mugen87 commented Feb 27, 2026

Copy link
Copy Markdown
Collaborator

Fixed #33076.

Description

The PR makes sure WebGPURenderer only uses a reversed depth buffer if EXT_clip_control is actually available. If not, it reports a warning and falls back to the default depth buffer.

@github-actions

github-actions Bot commented Feb 27, 2026

Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.57
85.37
359.57
85.37
+0 B
+0 B
WebGPU 626.63
174.17
626.83
174.23
+205 B
+62 B
WebGPU Nodes 625.21
173.92
625.41
173.98
+205 B
+65 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 491.31
119.78
491.31
119.78
+0 B
+0 B
WebGPU 700.22
189.16
700.42
189.22
+206 B
+66 B
WebGPU Nodes 649.42
176.52
649.63
176.58
+206 B
+65 B

@Mugen87

Mugen87 commented Feb 27, 2026

Copy link
Copy Markdown
Collaborator Author

That is strange. I definitely clicked on Squash and merge and the PR has been merged according to the commit history.

image

But GitHub shows this PR as closed with unmerged commits...

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.

WebGPURenderer: Missing EXT_clip_control breaks apps with enabled reversed depth buffer.

1 participant