diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-10-12 09:29:26 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-10-13 19:13:33 -0600 |
| commit | ad69bb638f91659f9b2c079d9ce2bf45910f622e (patch) | |
| tree | 3cac7b2ce1380403b51356571f2d4fa85c390639 /layers/core_validation.h | |
| parent | a275509eb92eac647a885f1d4aa65adecacb88f9 (diff) | |
| download | usermoji-ad69bb638f91659f9b2c079d9ce2bf45910f622e.tar.xz | |
layers:Add validation to DestroyDescriptorPool
Add validation flag for DestroyDescriptorPool and update it with
validation code using the Pre/Post pattern.
Flag error if descriptor pool is in use and invalidate any cmd buffers
that it was bound to. Remove pool state from map when it's destroyed.
When the pool is destroyed make sure all of its descriptor sets are
also freed.
Diffstat (limited to 'layers/core_validation.h')
| -rw-r--r-- | layers/core_validation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/core_validation.h b/layers/core_validation.h index b39ed606..26d87f8f 100644 --- a/layers/core_validation.h +++ b/layers/core_validation.h @@ -74,6 +74,7 @@ struct CHECK_DISABLED { bool destroy_buffer_view; // Skip validation at DestroyBufferView time bool destroy_image_view; // Skip validation at DestroyImageView time bool destroy_pipeline; // Skip validation at DestroyPipeline time + bool destroy_descriptor_pool; // Skip validation at DestroyDescriptorPool time bool object_in_use; // Skip all object in_use checking bool idle_descriptor_set; // Skip check to verify that descriptor set is no in-use bool push_constant_range; // Skip push constant range checks |
