From caefb8d8551f5a32cb850c939a4c4505cd83a1c4 Mon Sep 17 00:00:00 2001 From: Tobin Ehlis Date: Wed, 1 Jun 2016 11:56:42 -0600 Subject: layers: Comment update The behavior of the PreCallValidateAllocateDescriptorSets slightly changed so updating comment accordingly. --- layers/core_validation.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'layers/core_validation.cpp') 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 -- cgit v1.2.3