diff --git a/examples/jsm/renderers/webgpu/WebGPUTextures.js b/examples/jsm/renderers/webgpu/WebGPUTextures.js index 9b4cc218112adc..fb59b01ce1ff63 100644 --- a/examples/jsm/renderers/webgpu/WebGPUTextures.js +++ b/examples/jsm/renderers/webgpu/WebGPUTextures.js @@ -291,8 +291,8 @@ class WebGPUTextures { _getBytesPerTexel( format ) { if ( format === GPUTextureFormat.RGBA8Unorm ) return 4; - if ( format === GPUTextureFormat.RGBA32Float ) return 16; if ( format === GPUTextureFormat.RGBA16Float ) return 8; + if ( format === GPUTextureFormat.RGBA32Float ) return 16; }