From ad7b3e33e3785c75853cf351e1a8bbae3ff67fad Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Tue, 2 May 2017 14:18:07 -0700 Subject: layers: Make device extension enables consistent I want to get rid of the "_enable" suffix everywhere to allow for a second instance of the same structure to represent the /supported/ set for better diagnostics. --- layers/descriptor_sets.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layers/descriptor_sets.cpp') 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(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) { -- cgit v1.2.3