Skip to content

Commit

Permalink
WebGPUTextures: Clean up.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mugen87 committed Sep 3, 2020
1 parent e1fde83 commit da64654
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/jsm/renderers/webgpu/WebGPUTextures.js
Original file line number Diff line number Diff line change
Expand Up @@ -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;

}

Expand Down

0 comments on commit da64654

Please sign in to comment.