r600g: the code to check whether a new vertex shader is needed was wrong