The gunman used slurs, had swastikas on his weapon and left behind racist writings.