add check in CreateDevice so that cards without hardware vertex processing are supported.