Roger Federer has been honing his culinary skills off the court in China this week, but the tennis star found himself seriously undercooked in the opening match of his Shanghai Masters title defense.