UpdateMaterialShaderCompilingStats

Called for every material shader to update the appropriate stats.