diff options
| author | Chris Forbes <chrisforbes@google.com> | 2017-05-02 14:18:07 -0700 |
|---|---|---|
| committer | Chris Forbes <chrisf@ijw.co.nz> | 2017-05-03 11:38:06 -0700 |
| commit | ad7b3e33e3785c75853cf351e1a8bbae3ff67fad (patch) | |
| tree | 2149872678138948e70490cbb6adcd54d46ef4a3 /layers/descriptor_sets.cpp | |
| parent | b757ed5b61264822688aad133dbadfc261b6c50c (diff) | |
| download | usermoji-ad7b3e33e3785c75853cf351e1a8bbae3ff67fad.tar.xz | |
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.
Diffstat (limited to 'layers/descriptor_sets.cpp')
| -rw-r--r-- | layers/descriptor_sets.cpp | 2 |
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) { |
