More than 1,200 new houses a year will have to be built over the next two decades if Swindon is to keep up with national targets.