Tracy McGrady scored 22 points and Shane Battier 20 for the Rockets.