Tex. Code Crim. Proc. art. 46B.071
(a) Except as provided by Subsection (b), on a determination that a defendant is incompetent to stand trial, the court shall:
(b) On a determination that a defendant is incompetent to stand trial and is unlikely to be restored to competency in the foreseeable future, the court shall:
Added by Acts 2003, 78th Leg., ch. 35, Sec. 1, eff. Jan. 1, 2004.
Acts 2011, 82nd Leg., R.S., Ch. 822 (H.B. 2725), Sec. 9, eff. September 1, 2011.