2014-07-22 26 views

回答

0

您可以使用元数据机制将任何数据与每条指令相关联;见this related question on how to set metadata。但是,如果你的生产者和消费者都是通行证,那么标准的方法就是让生产者通过存储这些数据,并让消费者通过直接询问生产者通行证,使用它的方法。见this related documentation on how to set dependencies between passes

您可能也有兴趣this other answer of mine, which talks a little more about this, and provides a code example for setting metadata