mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 09:18:04 +02: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> (cherry picked from commit08fdaec473)
This commit is contained in:
parent
31ada2b7cf
commit
da74e86cb7
2 changed files with 2 additions and 1 deletions
|
|
@ -1075,7 +1075,7 @@
|
|||
"description": "radv: Allocate buffer list for MUTABLE descriptor types as well.",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"master_sha": null,
|
||||
"because_sha": "86644b84b94910ddb78b7a1117b8bcf55bb76265"
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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