From 477855fce450a891709cd2b3c49b97189c15869c Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 24 Sep 2021 12:37:40 -0400 Subject: [PATCH] zink: stop using VK_COMMAND_POOL_CREATE_RESET_COMMAND_BUFFER_BIT the pool is reset anyway so this is unnecessary Acked-by: Adam Jackson Part-of: --- src/gallium/drivers/zink/zink_batch.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_batch.c b/src/gallium/drivers/zink/zink_batch.c index 087bf28fd68..a20888927ec 100644 --- a/src/gallium/drivers/zink/zink_batch.c +++ b/src/gallium/drivers/zink/zink_batch.c @@ -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;