// WARNING: DO NOT MODIFY! This file is automatically generated from the vk.xml registry .Valid Usage (Implicit) **** * [[VUID-vkCreateDevice-physicalDevice-parameter]] pname:physicalDevice must: be a valid sname:VkPhysicalDevice handle * [[VUID-vkCreateDevice-pCreateInfo-parameter]] pname:pCreateInfo must: be a valid pointer to a valid sname:VkDeviceCreateInfo structure * [[VUID-vkCreateDevice-pAllocator-parameter]] If pname:pAllocator is not `NULL`, pname:pAllocator must: be a valid pointer to a valid sname:VkAllocationCallbacks structure * [[VUID-vkCreateDevice-pDevice-parameter]] pname:pDevice must: be a valid pointer to a sname:VkDevice handle **** .Return Codes **** ifndef::doctype-manpage[] <>:: endif::doctype-manpage[] ifdef::doctype-manpage[] On success, this command returns:: endif::doctype-manpage[] * ename:VK_SUCCESS ifndef::doctype-manpage[] <>:: 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 * ename:VK_ERROR_INITIALIZATION_FAILED * ename:VK_ERROR_EXTENSION_NOT_PRESENT * ename:VK_ERROR_FEATURE_NOT_PRESENT * ename:VK_ERROR_TOO_MANY_OBJECTS * ename:VK_ERROR_DEVICE_LOST ****