aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.h
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-10-12 17:14:02 -0600
committerTobin Ehlis <tobine@google.com>2016-10-13 19:13:34 -0600
commit5efc4cf5b8e4f2dee945d2f7543695d739de73ec (patch)
tree15e3ab0affc4c3bd93285f49781723c0afe05f09 /layers/core_validation.h
parent92388e51bc3baf1015743fa4f499c8f38fc9bfea (diff)
downloadusermoji-5efc4cf5b8e4f2dee945d2f7543695d739de73ec.tar.xz
layers:Refactor DestroyImage
Add validation flag for DestroyImage and update it to follow the Pre/Post pattern.
Diffstat (limited to 'layers/core_validation.h')
-rw-r--r--layers/core_validation.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/layers/core_validation.h b/layers/core_validation.h
index 7a050797..af78229d 100644
--- a/layers/core_validation.h
+++ b/layers/core_validation.h
@@ -77,6 +77,7 @@ struct CHECK_DISABLED {
bool destroy_descriptor_pool; // Skip validation at DestroyDescriptorPool time
bool destroy_framebuffer; // Skip validation at DestroyFramebuffer time
bool destroy_renderpass; // Skip validation at DestroyRenderpass time
+ bool destroy_image; // Skip validation at DestroyImage 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