1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkFreeDescriptorSets-device-parameter]] pname:device must: be a valid sname:VkDevice handle 5* [[VUID-vkFreeDescriptorSets-descriptorPool-parameter]] pname:descriptorPool must: be a valid sname:VkDescriptorPool handle 6* [[VUID-vkFreeDescriptorSets-descriptorSetCount-arraylength]] pname:descriptorSetCount must: be greater than `0` 7* [[VUID-vkFreeDescriptorSets-descriptorPool-parent]] pname:descriptorPool must: have been created, allocated, or retrieved from pname:device 8* [[VUID-vkFreeDescriptorSets-pDescriptorSets-parent]] Each element of pname:pDescriptorSets that is a valid handle must: have been created, allocated, or retrieved from pname:descriptorPool 9**** 10 11.Host Synchronization 12**** 13* Host access to pname:descriptorPool must: be externally synchronized 14* Host access to each member of pname:pDescriptorSets must: be externally synchronized 15**** 16 17.Return Codes 18**** 19ifndef::doctype-manpage[] 20<<fundamentals-successcodes,Success>>:: 21endif::doctype-manpage[] 22ifdef::doctype-manpage[] 23On success, this command returns:: 24endif::doctype-manpage[] 25* ename:VK_SUCCESS 26ifndef::doctype-manpage[] 27<<fundamentals-errorcodes,Failure>>:: 28endif::doctype-manpage[] 29ifdef::doctype-manpage[] 30On failure, this command returns:: 31endif::doctype-manpage[] 32* ename:VK_ERROR_OUT_OF_HOST_MEMORY 33* ename:VK_ERROR_OUT_OF_DEVICE_MEMORY 34**** 35 36