mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-26 02:00:12 +01:00
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:
parent
207ee2b6a9
commit
d6294a13a6
2 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -2929,6 +2929,8 @@ struct anv_cmd_pool {
|
|||
struct vk_object_base base;
|
||||
VkAllocationCallbacks alloc;
|
||||
struct list_head cmd_buffers;
|
||||
|
||||
VkCommandPoolCreateFlags flags;
|
||||
};
|
||||
|
||||
#define ANV_CMD_BUFFER_BATCH_SIZE 8192
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue