unplugged-vendor/device/generic/vulkan-cereal/protocols/vulkan/validity/protos/vkAllocateCommandBuffers.txt

33 lines
1.1 KiB
Plaintext
Raw Normal View History

// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry
.Valid Usage (Implicit)
****
* [[VUID-vkAllocateCommandBuffers-device-parameter]] pname:device must: be a valid sname:VkDevice handle
* [[VUID-vkAllocateCommandBuffers-pAllocateInfo-parameter]] pname:pAllocateInfo must: be a valid pointer to a valid sname:VkCommandBufferAllocateInfo structure
* [[VUID-vkAllocateCommandBuffers-pCommandBuffers-parameter]] pname:pCommandBuffers must: be a valid pointer to an array of pname:pAllocateInfo::commandBufferCount sname:VkCommandBuffer handles
****
.Host Synchronization
****
* Host access to pname:pAllocateInfo::commandPool must: be externally synchronized
****
.Return Codes
****
ifndef::doctype-manpage[]
<<fundamentals-successcodes,Success>>::
endif::doctype-manpage[]
ifdef::doctype-manpage[]
On success, this command returns::
endif::doctype-manpage[]
* ename:VK_SUCCESS
ifndef::doctype-manpage[]
<<fundamentals-errorcodes,Failure>>::
endif::doctype-manpage[]
ifdef::doctype-manpage[]
On failure, this command returns::
endif::doctype-manpage[]
* ename:VK_ERROR_OUT_OF_HOST_MEMORY
* ename:VK_ERROR_OUT_OF_DEVICE_MEMORY
****