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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user