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 = {
113
113
// Packed 32-bit formats
114
114
RGB9E5UFloat : 'rgb9e5ufloat' ,
115
115
RGB10A2Unorm : 'rgb10a2unorm' ,
116
- RG11B10UFloat : 'rgb10a2unorm ' ,
116
+ RG11B10UFloat : 'rg11b10ufloat ' ,
117
117
118
118
// 64-bit formats
119
119
Original file line number Diff line number Diff line change @@ -231,7 +231,7 @@ class WebGPUTextureUtils {
231
231
232
232
}
233
233
234
- if ( texture . isCompressedTexture !== true && texture . isCompressedArrayTexture !== true ) {
234
+ if ( texture . isCompressedTexture !== true && texture . isCompressedArrayTexture !== true && format !== GPUTextureFormat . RGB9E5UFloat ) {
235
235
236
236
usage |= GPUTextureUsage . RENDER_ATTACHMENT ;
237
237
You can’t perform that action at this time.
0 commit comments