aboutsummaryrefslogtreecommitdiff
path: root/layers/descriptor_sets.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'layers/descriptor_sets.cpp')
-rw-r--r--layers/descriptor_sets.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/layers/descriptor_sets.cpp b/layers/descriptor_sets.cpp
index 3f5ddb50..40c280b8 100644
--- a/layers/descriptor_sets.cpp
+++ b/layers/descriptor_sets.cpp
@@ -1672,7 +1672,7 @@ bool cvdescriptorset::ValidateAllocateDescriptorSets(const core_validation::laye
reinterpret_cast<const uint64_t &>(p_alloc_info->pSetLayouts[i]));
}
}
- if (!GetDeviceExtensions(dev_data)->khr_maintenance1_enabled) {
+ if (!GetDeviceExtensions(dev_data)->khr_maintenance1) {
auto pool_state = GetDescriptorPoolState(dev_data, p_alloc_info->descriptorPool);
// Track number of descriptorSets allowable in this pool
if (pool_state->availableSets < p_alloc_info->descriptorSetCount) {