The legislation would put new requirements on wind and solar companies that oil and gas companies in Texas do not face.