File tree 1 file changed +1
-1
lines changed
src/renderers/webgpu/utils
1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -877,7 +877,7 @@ class WebGPUTextureUtils {
877
877
if ( format === GPUTextureFormat . BC1RGBAUnorm || format === GPUTextureFormat . BC1RGBAUnormSRGB ) return { byteLength : 8 , width : 4 , height : 4 } ; // DXT1
878
878
if ( format === GPUTextureFormat . BC2RGBAUnorm || format === GPUTextureFormat . BC2RGBAUnormSRGB ) return { byteLength : 16 , width : 4 , height : 4 } ; // DXT3
879
879
if ( format === GPUTextureFormat . BC3RGBAUnorm || format === GPUTextureFormat . BC3RGBAUnormSRGB ) return { byteLength : 16 , width : 4 , height : 4 } ; // DXT5
880
- if ( format === GPUTextureFormat . BC4RUnorm || format === GPUTextureFormat . BC4RSNorm ) return { byteLength : 8 , width : 4 , height : 4 } ; // RGTC1
880
+ if ( format === GPUTextureFormat . BC4RUnorm || format === GPUTextureFormat . BC4RSnorm ) return { byteLength : 8 , width : 4 , height : 4 } ; // RGTC1
881
881
if ( format === GPUTextureFormat . BC5RGUnorm || format === GPUTextureFormat . BC5RGSnorm ) return { byteLength : 16 , width : 4 , height : 4 } ; // RGTC2
882
882
if ( format === GPUTextureFormat . BC6HRGBUFloat || format === GPUTextureFormat . BC6HRGBFloat ) return { byteLength : 16 , width : 4 , height : 4 } ; // BPTC (float)
883
883
if ( format === GPUTextureFormat . BC7RGBAUnorm || format === GPUTextureFormat . BC7RGBAUnormSRGB ) return { byteLength : 16 , width : 4 , height : 4 } ; // BPTC (unorm)
You can’t perform that action at this time.
0 commit comments