Texas police kill gunman 'in riot gear' after he shoots at buildings in Austin

WASHINGTON (AFP) - US police fatally shot a man after he opened fire at several buildings in the Texas state capital on Friday, including police headquarters and the Mexican consulate, authorities said.

Police in the city of Austin said on Twitter that an "active shooter" had targeted multiple downtown buildings, including the police HQ.

Following an "officer-involved shooting", the police department said "one male suspect is deceased."

Jesse Van Wallene, 29, told local media he stopped at a red light and found himself just a few feet from the shooter.

"We saw this guy in full riot gear," Van Wallene told NBC News.

"He looked like a police officer because he had the equipment. He had a large gun in his hand."

Another witness, Hans Paap, who lives in a building near the Austin Police Department, said the sound of gunfire woke him around 2.30am.

"I woke up to a burst of gunfire, heard a second round and then got to the window and saw a third round," he said.

"You could see the muzzle flashes."

He said it was not clear if it was the suspect or the police shooting.

"Police responded very quickly, as you can imagine," Paap said. "Four or five cruisers came onto the scene."

In a statement, Mexico's foreign ministry voiced its "deep concern and condemnation."

The shooting took place outside working hours and nobody was hurt, it said, but there was damage to the building's facade and entrance, "apparently due to gunfire".

"For now, there are no indications that the shots were exclusively directed at our representation."

The consul, Rosalba Ojeda, has been in close contact with US local and federal authorities.