1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkAllocateDescriptorSets-device-parameter]] pname:device must: be a valid sname:VkDevice handle 5* [[VUID-vkAllocateDescriptorSets-pAllocateInfo-parameter]] pname:pAllocateInfo must: be a valid pointer to a valid sname:VkDescriptorSetAllocateInfo structure 6* [[VUID-vkAllocateDescriptorSets-pDescriptorSets-parameter]] pname:pDescriptorSets must: be a valid pointer to an array of pname:pAllocateInfo::descriptorSetCount sname:VkDescriptorSet handles 7**** 8 9.Host Synchronization 10**** 11* Host access to pname:pAllocateInfo::descriptorPool must: be externally synchronized 12**** 13 14.Return Codes 15**** 16ifndef::doctype-manpage[] 17<<fundamentals-successcodes,Success>>:: 18endif::doctype-manpage[] 19ifdef::doctype-manpage[] 20On success, this command returns:: 21endif::doctype-manpage[] 22* ename:VK_SUCCESS 23ifndef::doctype-manpage[] 24<<fundamentals-errorcodes,Failure>>:: 25endif::doctype-manpage[] 26ifdef::doctype-manpage[] 27On failure, this command returns:: 28endif::doctype-manpage[] 29* ename:VK_ERROR_OUT_OF_HOST_MEMORY 30* ename:VK_ERROR_OUT_OF_DEVICE_MEMORY 31* ename:VK_ERROR_FRAGMENTED_POOL 32* ename:VK_ERROR_OUT_OF_POOL_MEMORY 33**** 34 35