layers: Added flags for in_use checks
authorTobin Ehlis <tobine@google.com>
Wed, 28 Sep 2016 20:25:44 +0000 (14:25 -0600)
committerTobin Ehlis <tobine@google.com>
Wed, 28 Sep 2016 23:41:14 +0000 (17:41 -0600)
commit7626815e3c23be98681f3fcf733ee938022af612
tree1e573c4b7509a016054079d8ceb8cc4c62b208b5
parent8e0ffae5b5c87fa062229b8c003be10c7e48aea1
layers: Added flags for in_use checks

Added object_in_use flag to disable all in_use checks.
Added destroy_buffer_view flag to disable validation checks at
DestroyBufferView() time.
layers/core_validation.cpp
layers/core_validation.h