Tex. Code Crim. Proc. art. 27.05
A defendant's only special plea is that he has already been prosecuted for the same or a different offense arising out of the same criminal episode that was or should have been consolidated into one trial, and that the former prosecution:
Acts 1965, 59th Leg., p. 317, ch. 722, Sec. 1, eff. Jan. 1, 1966.
Amended by Acts 1973, 63rd Leg., p. 969, ch. 399, Sec. 2(A), eff. Jan. 1, 1974.