r600g: avoid dynamic allocation of states