aboutsummaryrefslogtreecommitdiff
path: root/layers/core_validation.h
diff options
context:
space:
mode:
authorTobin Ehlis <tobine@google.com>2016-10-06 14:16:14 -0600
committerTobin Ehlis <tobine@google.com>2016-10-07 12:01:41 -0600
commit8d02126987816200539cc1303092402b30a6dcb7 (patch)
treec17a8e2449c2b91134dfdff722a3d51b03b74e9c /layers/core_validation.h
parent335e331c1edb42d069c05326432baba26d90e085 (diff)
downloadusermoji-8d02126987816200539cc1303092402b30a6dcb7.tar.xz
layers: Add flags for some descriptor validation
Add flags that can gate descriptor checks for in-use descriptor, push constant ranges, and allocate & free descriptors.
Diffstat (limited to 'layers/core_validation.h')
-rw-r--r--layers/core_validation.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/layers/core_validation.h b/layers/core_validation.h
index d701903d..22ee28dc 100644
--- a/layers/core_validation.h
+++ b/layers/core_validation.h
@@ -71,6 +71,10 @@ struct CHECK_DISABLED {
bool command_buffer_state;
bool destroy_buffer_view; // Skip validation at DestroyBufferView 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
+ bool free_descriptor_sets; // Skip validation prior to vkFreeDescriptorSets()
+ bool allocate_descriptor_sets; // Skip validation prior to vkAllocateDescriptorSets()
};
#if MTMERGE