Searched refs:cmdbufs (Results 1 – 1 of 1) sorted by relevance
739 VkCommandBuffer* cmdbufs) { in AllocateCommandBuffers() argument742 std::fill(cmdbufs, cmdbufs + alloc_info->commandBufferCount, nullptr); in AllocateCommandBuffers()744 cmdbufs[i] = in AllocateCommandBuffers()748 if (!cmdbufs[i]) { in AllocateCommandBuffers()752 cmdbufs[i]->dispatch.magic = HWVULKAN_DISPATCH_MAGIC; in AllocateCommandBuffers()756 if (!cmdbufs[i]) in AllocateCommandBuffers()758 pool.allocator.pfnFree(pool.allocator.pUserData, cmdbufs[i]); in AllocateCommandBuffers()767 const VkCommandBuffer* cmdbufs) { in FreeCommandBuffers() argument770 pool.allocator.pfnFree(pool.allocator.pUserData, cmdbufs[i]); in FreeCommandBuffers()