Under these circumstances, no.
Not that it matters, because she never fired her weapon, but for conversation sake....
The cop was not inside the castle.
The cop was not attempting to break in.
The cop was not attempting to kidnap anyone.
In Tx., you can shoot a thief, but you can't shoot a trespasser.
Nor can you shoot anyone that breaks in to your detached garage, or shed.
The Tx Castle doctrine does not mean you can shoot anyone on your residence.(Property)
Section one, Subsection a. Tx. Penal code 93.1.
Except as provided in Subsection (b), a person is justified in using force against another when and to the degree the actor reasonably believes the force is immediately necessary to protect the actor against the other's use or attempted use of unlawful force. The actor's belief that the force was immediately necessary as described by this subsection is presumed to be reasonable if the actor:
(A) unlawfully and with force entered, or was attempting to enter unlawfully and with force, the actor's occupied habitation, vehicle, or place of business or employment;
Texas Penal Code § 9.31 | FindLaw
Texas Penal Code § 9.32 | FindLaw
Having said that. I don't believe that cop had any right to shoot her either, and unlike her, he did fire his weapon.
IMO, if he was yelling at her to show her hands, that to me means that he couldn't see her hands, which means he couldn't see a gun. So why would he fear his life was in danger?