mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-21 06:50:59 +01:00
WebGPU: Support TextureFormat::Rgb10a2Uint (#9037)
This commit is contained in:
1 parent
7609ed99e5
commit
20b746f0c0
1 file changed
+1
-3
@@ -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
|
||||
|
||||
Reference in new issue
Block a user