A cop can gun you down in broad daylight for no reason at all and will 99.9% of the time face no significant consequences for his action.
All the cop has to say is that he felt his life was threatened and that makes it all justifiable.