1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkQueueSubmit-queue-parameter]] pname:queue must: be a valid sname:VkQueue handle 5* [[VUID-vkQueueSubmit-pSubmits-parameter]] If pname:submitCount is not `0`, pname:pSubmits must: be a valid pointer to an array of pname:submitCount valid sname:VkSubmitInfo structures 6* [[VUID-vkQueueSubmit-fence-parameter]] If pname:fence is not dlink:VK_NULL_HANDLE, pname:fence must: be a valid sname:VkFence handle 7* [[VUID-vkQueueSubmit-commonparent]] Both of pname:fence, and pname:queue that are valid handles must: have been created, allocated, or retrieved from the same sname:VkDevice 8**** 9 10.Host Synchronization 11**** 12* Host access to pname:queue must: be externally synchronized 13* Host access to pname:pSubmits[].pWaitSemaphores[] must: be externally synchronized 14* Host access to pname:pSubmits[].pSignalSemaphores[] must: be externally synchronized 15* Host access to pname:fence must: be externally synchronized 16**** 17 18.Command Properties 19**** 20[options="header", width="100%"] 21|==== 22|<<VkCommandBufferLevel,Command Buffer Levels>>|<<vkCmdBeginRenderPass,Render Pass Scope>>|<<VkQueueFlagBits,Supported Queue Types>>|<<synchronization-pipeline-stages-types,Pipeline Type>> 23|-|-|Any|- 24|==== 25**** 26 27.Return Codes 28**** 29ifndef::doctype-manpage[] 30<<fundamentals-successcodes,Success>>:: 31endif::doctype-manpage[] 32ifdef::doctype-manpage[] 33On success, this command returns:: 34endif::doctype-manpage[] 35* ename:VK_SUCCESS 36ifndef::doctype-manpage[] 37<<fundamentals-errorcodes,Failure>>:: 38endif::doctype-manpage[] 39ifdef::doctype-manpage[] 40On failure, this command returns:: 41endif::doctype-manpage[] 42* ename:VK_ERROR_OUT_OF_HOST_MEMORY 43* ename:VK_ERROR_OUT_OF_DEVICE_MEMORY 44* ename:VK_ERROR_DEVICE_LOST 45**** 46 47