Mesa (master): zink. Added storage CISto descriptor pool.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Mar 4 16:48:39 UTC 2020
Module: Mesa
Branch: master
Commit: ec9da8990067332292709a221a168d56bb7a38a2
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=ec9da8990067332292709a221a168d56bb7a38a2
Author: Duncan Hopkins <duncan at duncanhopkins.me.uk>
Date: Wed Mar 4 11:24:24 2020 +0000
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 <erik.faye-lund at collabora.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4045>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4045>
---
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;
More information about the mesa-commit
mailing list