diff --git a/wgpu/src/backend/webgpu.rs b/wgpu/src/backend/webgpu.rs index eddb7130b..b2ac0f3e8 100644 --- a/wgpu/src/backend/webgpu.rs +++ b/wgpu/src/backend/webgpu.rs @@ -234,9 +234,7 @@ fn map_texture_format(texture_format: wgt::TextureFormat) -> webgpu_sys::GpuText TextureFormat::Bgra8UnormSrgb => tf::Bgra8unormSrgb, // Packed 32-bit formats TextureFormat::Rgb9e5Ufloat => tf::Rgb9e5ufloat, - TextureFormat::Rgb10a2Uint => { - unimplemented!("Current version of web_sys is missing {texture_format:?}") - } + TextureFormat::Rgb10a2Uint => tf::Rgb10a2uint, TextureFormat::Rgb10a2Unorm => tf::Rgb10a2unorm, TextureFormat::Rg11b10Ufloat => tf::Rg11b10ufloat, // 64-bit formats