Skip to content

Conversation

@sunag
Copy link
Collaborator

@sunag sunag commented Nov 13, 2025

Fixes #32253

Description

It relates MRTNode as a key to create or obtain a RenderContext, and relates RenderContext to RenderObject to generate the cache key.

@sunag sunag changed the title WebGPURenderer: Add MRT for RenderContext WebGPURenderer: Relates MRT for RenderContext in obtaining a unique context. Nov 13, 2025
@sunag sunag added this to the r182 milestone Nov 13, 2025
@github-actions
Copy link

github-actions bot commented Nov 13, 2025

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 356.24
86.48
356.24
86.48
+0 B
+0 B
WebGPU 615.06
172.59
615.15
172.62
+90 B
+39 B
WebGPU Nodes 613.67
172.33
613.76
172.37
+90 B
+40 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 488.04
121.25
488.04
121.25
+0 B
+0 B
WebGPU 684.53
187.86
684.62
187.89
+90 B
+29 B
WebGPU Nodes 626.25
171.07
626.34
171.11
+90 B
+35 B

@sunag sunag marked this pull request as ready for review November 13, 2025 18:07
@sunag sunag merged commit f367f20 into mrdoob:dev Nov 13, 2025
10 checks passed
@sunag sunag deleted the dev-rendercontext-mrt branch November 13, 2025 18:13
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 - Can't swap beteween results from 2 different MRT passes

2 participants