Texas Longhorns starting quarterback Garrett Gilbert was ineffective for the second consecutive game as the Longhorns relied on their backup quarterbacks in a 17-16 win over the BYU Cougars.

Texas (2-0) pulled starter Garrett Gilbert in the second quarter and handed the offense to sophomore Case McCoy (pictured) and freshman quarterback David Ash in a rotation that flipped a game the Cougars (1-1) were dominating.

McCoy and Ash combined to hit 9 of 11 passes for 92 yards and Ash also rushed for 39 yards. McCoy carried the load on Texas' winning drive, twice connecting with Jaxon Shipley for big gains before Cody Johnson punched in his second touchdown for the lead with 8:46 to play.

"When Case came in, he played a real leadership role for us," said Shipley, a freshman who is the younger brother of Texas' career receptions leader Jordan Shipley.

"He was pumping us up, telling us he was going to lead us to victory," Shipley said.

"When I was named the backup, I knew that you're always one play away," McCoy said. "I felt our team rallied around me and David."

BYU dominated Texas early by getting out to a 13-0 lead in the second quarter, but wilted under the 98-degree temperatures and Texas' punishing running game in the second half. The Longhorns' D.J. Monroe had two long runs in Texas' first touchdown drive and Malcolm Brown led the Longhorns with 68 yards rushing, most of it in the second half.

Information from the Associated Press was used in this report