You will need to need to "allocate" the portion of your earnings that were earned while you were living in CA. See the TurboTax FAQ below for explanation on how to calculate this. Of course, you will have only the non-resident return for CA and no return for TX.
https://ttlc.intuit.com/questions/2895983-how-do-i-allocate-split-income-for-a-part-year-state-retur...
*** I am NOT a tax expert. I am a seasoned TurboTax user, and volunteer to provide assistance to TT users. Nothing I post is to be considered TAX ADVICE; I bear no legal liability for responses.***