WebGPU: Support TextureFormat::Rgb10a2Uint (#9037)

This commit is contained in:
Tom Schuster authored and GitHub committed 2026-02-11 16:16:28 -05:00
1 parent 7609ed99e5
commit 20b746f0c0
1 file changed
+1 -3
+1 -3
View File
@@ -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