diff --git a/wgpu-types/src/lib.rs b/wgpu-types/src/lib.rs index d5cd761ccc1..ee73e354ab3 100644 --- a/wgpu-types/src/lib.rs +++ b/wgpu-types/src/lib.rs @@ -2334,7 +2334,7 @@ pub enum TextureFormat { /// - 1: Dual 8 bit channel chrominance at half width and half height. /// /// Valid view formats for luminance are [`TextureFormat::R8Unorm`] and [`TextureFormat::R8Uint`]. - /// + /// /// Valid view formats for chrominance are [`TextureFormat::Rg8Unorm`] and [`TextureFormat::Rg8Uint`]. /// /// Width and height must be even. @@ -2892,8 +2892,9 @@ impl TextureFormat { | Self::Depth24Plus | Self::Depth24PlusStencil8 | Self::Depth32Float - | Self::Depth32FloatStencil8 - | Self::NV12 => (1, 1), + | Self::Depth32FloatStencil8 => (1, 1), + + Self::NV12 => (2, 2), Self::Bc1RgbaUnorm | Self::Bc1RgbaUnormSrgb