The Texas Republican Party has shifted further to the right in recent years, adopting more conservative policies on immigration and cracking down on dissent within its ranks.