Relative Content

Tag Archive for rustimage-compressionwgpu-rs

How to upload BC7 mipmaps less than 4×4 for D2Array?

I’m compressing images using the intel_tex_2 crate. I’m uploading using the wgpu crate. Texture format is Bc7RgbaUnorm. Everything works fine until I have more than 1 D2Array layer and less than 4×4 mipmap size. write_texture attempts to read significantly more than a 4×4 block.