The fate of South Australian politics will be decided in a matter of hours after 1.3 million residents cast their votes in the state election.