venus: initialize bitset in CreateDescriptorPool()

Fixes: de5879447b ("Track bitset when create descriptor pool")
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30286>
(cherry picked from commit 5c5df9376f)
This commit is contained in:
Eric Engestrom 2024-07-21 14:50:17 +02:00
parent 61a5c3426a
commit 059dbd273b
2 changed files with 2 additions and 1 deletions

View file

@ -1044,7 +1044,7 @@
"description": "venus: initialize bitset in CreateDescriptorPool()",
"nominated": true,
"nomination_type": 1,
"resolution": 0,
"resolution": 1,
"main_sha": null,
"because_sha": "de5879447b4d7548b2798ba482b25441e0df97c9",
"notes": null

View file

@ -345,6 +345,7 @@ vn_CreateDescriptorPool(VkDevice device,
i >= mutable_descriptor_info->mutableDescriptorTypeListCount) {
BITSET_ONES(mutable_types);
} else {
BITSET_ZERO(mutable_types);
const VkMutableDescriptorTypeListEXT *list =
&mutable_descriptor_info->pMutableDescriptorTypeLists[i];