layers:Remove invalid renderPass binding
authorTobin Ehlis <tobine@google.com>
Thu, 28 Sep 2017 18:46:58 +0000 (12:46 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 28 Sep 2017 20:26:43 +0000 (13:26 -0700)
commit0bdbf3c2d36a556ab2aa9ccf27b62a6ef5d21016
tree8b468d186408aec6019c04a8fbe0eeca398d9670
parentd6a76d89728d9364decb0b45c30416dc0b3062c1
layers:Remove invalid renderPass binding

There's no reason to create a binding between RP used in pipeline
creation and the cmd buffer that pipeline is bound to. This can lead
to a bug where CB is incorrectly invalidated if that RP is destroyed
after pipeline is bound to CB.
layers/core_validation.cpp