anv: track command buffer pool flags

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/9127>
This commit is contained in:
Lionel Landwerlin
2020-12-10 16:00:58 +02:00
parent 207ee2b6a9
commit d6294a13a6
2 changed files with 4 additions and 0 deletions

View File

@@ -1152,6 +1152,8 @@ VkResult anv_CreateCommandPool(
list_inithead(&pool->cmd_buffers);
pool->flags = pCreateInfo->flags;
*pCmdPool = anv_cmd_pool_to_handle(pool);
return VK_SUCCESS;