Module: Mesa
Branch: master
Commit: 08fdaec473c9596aba2fe9947eb800b0282bdf26
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=08fdaec473c9596aba2fe9947eb800b0282bdf26

Author: Hans-Kristian Arntzen <[email protected]>
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 <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
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;
       }

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to