The Constitution prohibits discrimination on the basis of race. Some have said that the lack of diversity is an indicator of discrimination on the basis of race.
Diversity is not the goal. Equal treatment is the goal; and, the requirement of the Constitution. If The University of Texas is using race based admissions to achieve diversity, the tail is wagging the dog.