From ec9da8990067332292709a221a168d56bb7a38a2 Mon Sep 17 00:00:00 2001 From: Duncan Hopkins Date: Wed, 4 Mar 2020 11:24:24 +0000 Subject: [PATCH] zink. Added storage CISto descriptor pool. Added storage in descriptor pool for combined image samplers as well as uniform buffers. Stops some shaders from running through a pools storage faster than zinks internal tracking. Reviewed-by: Erik Faye-Lund Tested-by: Marge Bot Part-of: --- src/gallium/drivers/zink/zink_context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index c5fb0e2e0b0..0580d234fec 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -1127,7 +1127,8 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) cbai.commandBufferCount = 1; VkDescriptorPoolSize sizes[] = { - {VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, ZINK_BATCH_DESC_SIZE} + {VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, ZINK_BATCH_DESC_SIZE}, + {VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, ZINK_BATCH_DESC_SIZE} }; VkDescriptorPoolCreateInfo dpci = {}; dpci.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; -- 2.30.2