| 542 | // Destroy object |
| 543 | } |
| 544 | static 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 | } |
| 551 | static VKAPI_ATTR void VKAPI_CALL DestroyCommandPool(VkDevice device, VkCommandPool commandPool, |
| 552 | const VkAllocationCallbacks* pAllocator) { |
| 553 | // destroy command buffers for this pool |
nothing calls this directly
no outgoing calls
no test coverage detected