layers: Fix buffer_view destroy ordering
authorTobin Ehlis <tobine@google.com>
Thu, 6 Oct 2016 03:50:14 +0000 (21:50 -0600)
committerTobin Ehlis <tobine@google.com>
Thu, 6 Oct 2016 13:38:58 +0000 (07:38 -0600)
commitc6f1a9ab8d9bee0a805a298c9d28f5e81f8877b5
tree5fd37c4b990ece3932d15dcba70853d8909b4909
parent928a96179b0f8aee8ba7799770af71307862b140
layers: Fix buffer_view destroy ordering

Don't destroy buffer_view from map until after invalidating bound cmd buffers.
layers/core_validation.cpp