Mesa (master): radv: Allocate buffer list for MUTABLE descriptor types as well.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Thu Apr 15 12:01:36 UTC 2021
Module: Mesa
Branch: master
Commit: 08fdaec473c9596aba2fe9947eb800b0282bdf26
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=08fdaec473c9596aba2fe9947eb800b0282bdf26
Author: Hans-Kristian Arntzen <post at arntzen-software.no>
Date: Mon Apr 12 12:15:47 2021 +0200
radv: Allocate buffer list for MUTABLE descriptor types as well.
Fixes: 86644b84b94 ("radv: Implement VK_VALVE_mutable_descriptor_type.")
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10132>
---
src/amd/vulkan/radv_descriptor_set.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/amd/vulkan/radv_descriptor_set.c b/src/amd/vulkan/radv_descriptor_set.c
index be8782ddca5..d51492ce01b 100644
--- a/src/amd/vulkan/radv_descriptor_set.c
+++ b/src/amd/vulkan/radv_descriptor_set.c
@@ -242,6 +242,7 @@ radv_CreateDescriptorSetLayout(VkDevice _device, const VkDescriptorSetLayoutCrea
&mutable_size, &mutable_align);
assert(mutable_size && mutable_align);
set_layout->binding[b].size = mutable_size;
+ binding_buffer_count = 1;
alignment = mutable_align;
break;
}
More information about the mesa-commit
mailing list