layers:Refactor DestroyFramebuffer
authorTobin Ehlis <tobine@google.com>
Wed, 12 Oct 2016 17:48:21 +0000 (11:48 -0600)
committerTobin Ehlis <tobine@google.com>
Fri, 14 Oct 2016 01:13:33 +0000 (19:13 -0600)
commit68bffb05ebae84543f3632f9a6d8193f480415da
treea219118c8dada504820eb203898ab8f274c87bd3
parent15f2d405fc05e0f0a90623d91e56ec109b418391
layers:Refactor DestroyFramebuffer

Add validation flag for DestroyFramebuffer and update it to follow the
Pre/Post pattern. This function didn't previously perform an in-use
check so added that check.
Updated database file.
layers/core_validation.cpp
layers/core_validation.h
layers/vk_validation_error_database.txt