Allow to share nodes between the main shader and multiple AOVs, since they are executed in the same function.