diff options
author | Mike Blumenkrantz <michael.blumenkrantz@gmail.com> | 2020-08-11 11:02:01 -0400 |
---|---|---|
committer | Marge Bot <eric+marge@anholt.net> | 2020-10-15 12:02:55 +0000 |
commit | 4c2b02f5994efb0e25aafc8ff816b03dd6439651 (patch) | |
tree | c74fbd309ee2ad9d2b3d33ef6e619a8ec8c49d71 | |
parent | 4231cc2e99a1a8628a62b27963127229e056d227 (diff) |
zink: increase descriptor pool sizes for other descriptor types we'll be using
Reviewed-by: Erik Faye-Lund <erik.faye-lund@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7132>
-rw-r--r-- | src/gallium/drivers/zink/zink_context.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gallium/drivers/zink/zink_context.c b/src/gallium/drivers/zink/zink_context.c index 0b224ff24b8..514f705ff8e 100644 --- a/src/gallium/drivers/zink/zink_context.c +++ b/src/gallium/drivers/zink/zink_context.c @@ -1153,7 +1153,11 @@ zink_context_create(struct pipe_screen *pscreen, void *priv, unsigned flags) VkDescriptorPoolSize sizes[] = { {VK_DESCRIPTOR_TYPE_UNIFORM_BUFFER, ZINK_BATCH_DESC_SIZE}, - {VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, ZINK_BATCH_DESC_SIZE} + {VK_DESCRIPTOR_TYPE_UNIFORM_TEXEL_BUFFER, ZINK_BATCH_DESC_SIZE}, + {VK_DESCRIPTOR_TYPE_COMBINED_IMAGE_SAMPLER, ZINK_BATCH_DESC_SIZE}, + {VK_DESCRIPTOR_TYPE_STORAGE_TEXEL_BUFFER, ZINK_BATCH_DESC_SIZE}, + {VK_DESCRIPTOR_TYPE_STORAGE_IMAGE, ZINK_BATCH_DESC_SIZE}, + {VK_DESCRIPTOR_TYPE_STORAGE_BUFFER, ZINK_BATCH_DESC_SIZE}, }; VkDescriptorPoolCreateInfo dpci = {}; dpci.sType = VK_STRUCTURE_TYPE_DESCRIPTOR_POOL_CREATE_INFO; |