zink: stop using VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT

the pool is reset anyway so this is unnecessary

Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13145>
This commit is contained in:
Mike Blumenkrantz 2021-09-24 12:37:40 -04:00
parent 0dd0f6cf75
commit 477855fce4
1 changed files with 0 additions and 1 deletions

View File

@ -184,7 +184,6 @@ create_batch_state(struct zink_context *ctx)
VkCommandPoolCreateInfo cpci = {0};
cpci.sType = VK_STRUCTURE_TYPE_COMMAND_POOL_CREATE_INFO;
cpci.queueFamilyIndex = screen->gfx_queue;
cpci.flags = VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT;
if (VKSCR(CreateCommandPool)(screen->dev, &cpci, NULL, &bs->cmdpool) != VK_SUCCESS)
goto fail;