layers: Store PIPELINE_LAYOUT_NODE directly in PIPELINE_NODE
authorTobin Ehlis <tobine@google.com>
Thu, 7 Jul 2016 14:14:48 +0000 (08:14 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 7 Jul 2016 19:43:00 +0000 (13:43 -0600)
commitc47591b3b0db616ef1c953bbe72cfdb93fc49257
tree4158678d00d0cd685c09de3c1a340b0c4097ce15
parentafcc59c24d2e42270b16999637cc1bdb29d39a34
layers: Store PIPELINE_LAYOUT_NODE directly in PIPELINE_NODE

The layout and its associated node may be deleted after pipeline is
created so store a copy of the PIPELINE_LAYOUT_NODE in the
PIPELINE_NODE to make sure data is available when it's needed.
layers/core_validation.cpp
layers/core_validation.h