Add matrix dump to each uniform generator