It is not necessary to know programming or computer science in depth to become a UX designer. But you need to have a basic knowledge in the field to become a successful designer.