MCPcopy Create free account
hub / github.com/KhronosGroup/Vulkan-Tools / CreateCommandPool

Function CreateCommandPool

icd/generated/function_definitions.h:544–550  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

542 // Destroy object
543}
544static VKAPI_ATTR VkResult VKAPI_CALL CreateCommandPool(VkDevice device, const VkCommandPoolCreateInfo* pCreateInfo,
545 const VkAllocationCallbacks* pAllocator, VkCommandPool* pCommandPool) {
546 unique_lock_t lock(global_lock);
547 *pCommandPool = (VkCommandPool)global_unique_handle++;
548 command_pool_map[device].insert(*pCommandPool);
549 return VK_SUCCESS;
550}
551static VKAPI_ATTR void VKAPI_CALL DestroyCommandPool(VkDevice device, VkCommandPool commandPool,
552 const VkAllocationCallbacks* pAllocator) {
553 // destroy command buffers for this pool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected