File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
src/renderers/webgpu/utils Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ export const GPUTextureFormat = {
113113 // Packed 32-bit formats
114114 RGB9E5UFloat : 'rgb9e5ufloat' ,
115115 RGB10A2Unorm : 'rgb10a2unorm' ,
116- RG11B10UFloat : 'rgb10a2unorm ' ,
116+ RG11B10UFloat : 'rg11b10ufloat ' ,
117117
118118 // 64-bit formats
119119
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ class WebGPUTextureUtils {
231231
232232 }
233233
234- if ( texture . isCompressedTexture !== true && texture . isCompressedArrayTexture !== true ) {
234+ if ( texture . isCompressedTexture !== true && texture . isCompressedArrayTexture !== true && format !== GPUTextureFormat . RGB9E5UFloat ) {
235235
236236 usage |= GPUTextureUsage . RENDER_ATTACHMENT ;
237237
You can’t perform that action at this time.
0 commit comments