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)
commita009ea68af87526010d2aa5b437f3e45d41c0117
tree38681eb7bd8fab10b067a5a4eb102d472eea04ba
parent59ea4719bd0eeea6357f7044385a101ae9a3c46f
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