fn preferred_framebuffer_format(formats: &[TextureFormat]) -> TextureFormat