Skip to content

WebGPURenderer: Support unfilterable float32 StorageTextures#33155

Merged
sunag merged 1 commit intomrdoob:devfrom
sunag:dev-fix-float32Filterable
Mar 12, 2026
Merged

WebGPURenderer: Support unfilterable float32 StorageTextures#33155
sunag merged 1 commit intomrdoob:devfrom
sunag:dev-fix-float32Filterable

Conversation

@sunag
Copy link
Copy Markdown
Collaborator

@sunag sunag commented Mar 12, 2026

Fixes #33147

Description

This PR allows the use of FloatType StorageTextures devices that do not support the float32-filterable.

Previously, the fallback to set the sampleType to unfilterable (when filtering was not supported) strictly checked if the texture was a DataTexture or its variants.

@sunag sunag added this to the r184 milestone Mar 12, 2026
@github-actions
Copy link
Copy Markdown

📦 Bundle size

Full ESM build, minified and gzipped.

Before After Diff
WebGL 359.27
85.31
359.27
85.31
+0 B
+0 B
WebGPU 630.15
174.94
630.16
174.94
+6 B
+0 B
WebGPU Nodes 628.73
174.69
628.74
174.69
+6 B
+0 B

🌳 Bundle size after tree-shaking

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

Before After Diff
WebGL 491.13
119.74
491.13
119.74
+0 B
+0 B
WebGPU 703.4
189.9
703.41
189.9
+6 B
-1 B
WebGPU Nodes 652.63
177.32
652.64
177.32
+6 B
-1 B

@sunag sunag marked this pull request as ready for review March 12, 2026 14:33
@sunag sunag merged commit 9354e33 into mrdoob:dev Mar 12, 2026
15 of 16 checks passed
@sunag sunag deleted the dev-fix-float32Filterable branch March 12, 2026 20:28
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: FloatType StorageTextures cannot be used on mobile devices with no filterable support

1 participant