1// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry 2.Valid Usage (Implicit) 3**** 4* [[VUID-vkCreateDevice-physicalDevice-parameter]] pname:physicalDevice must: be a valid sname:VkPhysicalDevice handle 5* [[VUID-vkCreateDevice-pCreateInfo-parameter]] pname:pCreateInfo must: be a valid pointer to a valid sname:VkDeviceCreateInfo structure 6* [[VUID-vkCreateDevice-pAllocator-parameter]] If pname:pAllocator is not `NULL`, pname:pAllocator must: be a valid pointer to a valid sname:VkAllocationCallbacks structure 7* [[VUID-vkCreateDevice-pDevice-parameter]] pname:pDevice must: be a valid pointer to a sname:VkDevice handle 8**** 9 10.Return Codes 11**** 12ifndef::doctype-manpage[] 13<<fundamentals-successcodes,Success>>:: 14endif::doctype-manpage[] 15ifdef::doctype-manpage[] 16On success, this command returns:: 17endif::doctype-manpage[] 18* ename:VK_SUCCESS 19ifndef::doctype-manpage[] 20<<fundamentals-errorcodes,Failure>>:: 21endif::doctype-manpage[] 22ifdef::doctype-manpage[] 23On failure, this command returns:: 24endif::doctype-manpage[] 25* ename:VK_ERROR_OUT_OF_HOST_MEMORY 26* ename:VK_ERROR_OUT_OF_DEVICE_MEMORY 27* ename:VK_ERROR_INITIALIZATION_FAILED 28* ename:VK_ERROR_EXTENSION_NOT_PRESENT 29* ename:VK_ERROR_FEATURE_NOT_PRESENT 30* ename:VK_ERROR_TOO_MANY_OBJECTS 31* ename:VK_ERROR_DEVICE_LOST 32**** 33 34