The Senate passed legislation to prohibit discrimination and preferential treatment in state government, public schools and state-supported institutions of higher education.