store useCache in GLProgramState