Laws are odd everywhere, including Texas. For sometime now, the law has been on the books that if a perp is aiding and abetting another perp who commits a murder, the perp who aids and abets the actual killer can and will be tried for the murder just as if he had done it himself regardless of intent - as in the whine, "I didn't know he was going to kill someone".
A good example is the killers of Kenneth Byrd (truck dragging) incident and the killing of the Irving policeman on Christmas 3 years ago. All got the death penalty, not the just trigger man.
So, the law obviously doesnt extend to juvie rape. Too bad.
Ummmmm, "James" Byrd, right?
I served once on the jury trying a guy for murder, although he was only the "lookout" while someone was actually shooting someone.
We convicted him.
He was sentenced to death.