#2843·drei

[v11] 16 legacy stories run WebGL-only components on the WebGPU renderer

Author: DennisSmolekCreated Sep 24, 2026Updated Sep 24, 2026
Labelsv11effort:Sagent-ok

16 src/legacy/ stories run WebGL-only components on the WebGPU renderer

Stories default to the WebGPU renderer (.storybook/preview.tsx). A story under src/legacy/ that does not pass limitedTo="legacy" to <Setup> (and tag legacyOnly) therefore mounts a GLSL ShaderMaterial / onBeforeCompile component on WebGPURenderer.

#2841 observed 16 such stories while running the strict GPU check; the list is in that PR's body. Some go through PlatformSwitch and so are fine; the ones that import the legacy implementation directly are testing nothing under the default renderer and may be masking WebGPU failures as "passes".

Task: for each of the 16, either add limitedTo="legacy" + the legacyOnly tag, or convert to PlatformSwitch so the story exercises both implementations. Mechanical; one PR.