diff options
| author | Tobin Ehlis <tobine@google.com> | 2016-06-01 11:56:42 -0600 |
|---|---|---|
| committer | Tobin Ehlis <tobine@google.com> | 2016-06-02 09:54:34 -0600 |
| commit | caefb8d8551f5a32cb850c939a4c4505cd83a1c4 (patch) | |
| tree | 96825d45061042a351beb78d88bcf9a5a80ce4f6 /layers/core_validation.cpp | |
| parent | 2f68b290d22d933fda156e0101bb2ebf2f493c04 (diff) | |
| download | usermoji-caefb8d8551f5a32cb850c939a4c4505cd83a1c4.tar.xz | |
layers: Comment update
The behavior of the PreCallValidateAllocateDescriptorSets slightly
changed so updating comment accordingly.
Diffstat (limited to 'layers/core_validation.cpp')
| -rw-r--r-- | layers/core_validation.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/layers/core_validation.cpp b/layers/core_validation.cpp index 21d3b077..635f6c4b 100644 --- a/layers/core_validation.cpp +++ b/layers/core_validation.cpp @@ -5865,10 +5865,9 @@ ResetDescriptorPool(VkDevice device, VkDescriptorPool descriptorPool, VkDescript } return result; } - // Ensure the pool contains enough descriptors and descriptor sets to satisfy -// an allocation request. Fills requiredDescriptorsByType with the total number -// of descriptors of each type required, for later update. +// an allocation request. Fills common_data with the total number of descriptors of each type required, +// as well as DescriptorSetLayout ptrs used for later update. static bool PreCallValidateAllocateDescriptorSets(layer_data *dev_data, const VkDescriptorSetAllocateInfo *pAllocateInfo, cvdescriptorset::AllocateDescriptorSetsData *common_data) { // All state checks for AllocateDescriptorSets is done in single function |
