diff --git a/crates/bevy_render/src/texture/image.rs b/crates/bevy_render/src/texture/image.rs index 1562d887e0404..69340449744ed 100644 --- a/crates/bevy_render/src/texture/image.rs +++ b/crates/bevy_render/src/texture/image.rs @@ -533,6 +533,7 @@ impl TextureFormatPixelInfo for TextureFormat { | TextureFormat::Depth32Float => 4, // special cases + TextureFormat::Rgb9e5Ufloat => 4, TextureFormat::Rgb10a2Unorm => 4, TextureFormat::Rg11b10Float => 4, TextureFormat::Depth24Plus => 3, // FIXME is this correct? @@ -581,7 +582,8 @@ impl TextureFormatPixelInfo for TextureFormat { | TextureFormat::Rgba32Float => 4, // special cases - TextureFormat::Rgb10a2Unorm + TextureFormat::Rgb9e5Ufloat + | TextureFormat::Rgb10a2Unorm | TextureFormat::Rg11b10Float | TextureFormat::Depth32Float | TextureFormat::Depth24Plus