pub fn accumulate( current: [f32; 4], low: [f32; 4], high: [f32; 4], history: [f32; 4], coverage: f32, roughness: f32, history_valid: bool, ) -> [f32; 4]