layers: Add binding between cmd buffer and pipeline
authorTobin Ehlis <tobine@google.com>
Fri, 8 Jul 2016 21:42:38 +0000 (15:42 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 13 Jul 2016 17:29:38 +0000 (11:29 -0600)
commit685d5140674aca747386a6fdf974280e557d895a
tree24de4902b0b2b8f10a128527579f8cc80cef473e
parent54091cf3b7b2068543a931aca5af206adfa475f8
layers: Add binding between cmd buffer and pipeline

Track all pipelines bound to a cmd buffer and if any of them are destroyed
set the cmd buffer as invalid.
layers/core_validation.cpp
layers/core_validation.h