mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-27 21:20:12 +01:00
radv: Allocate buffer list for MUTABLE descriptor types as well.
Fixes: 86644b84b9 ("radv: Implement VK_VALVE_mutable_descriptor_type.")
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10132>
This commit is contained in:
parent
b60bc59180
commit
08fdaec473
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue