Deterministic multi-mode gates on a scalable photonic quantum computing platform