Texas has filed a complaint with the U.S. Supreme Court in its dispute with New Mexico over water from the Rio Grande.