mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
venus: check against the Vulkan type rather than type index.
Signed-off-by: Dawn Han <dawnhan@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/20064>
This commit is contained in:
parent
fbf4c6e43f
commit
0033ec1f69
1 changed files with 1 additions and 1 deletions
|
|
@ -341,7 +341,7 @@ vn_CreateDescriptorPool(VkDevice device,
|
|||
|
||||
assert(type_index < VN_NUM_DESCRIPTOR_TYPES);
|
||||
|
||||
if (type_index == VN_DESCRIPTOR_TYPE_MUTABLE_EXT) {
|
||||
if (pool_size->type == VK_DESCRIPTOR_TYPE_MUTABLE_EXT) {
|
||||
struct vn_descriptor_pool_state_mutable *mutable_state = NULL;
|
||||
BITSET_DECLARE(mutable_types, VN_NUM_DESCRIPTOR_TYPES);
|
||||
if (!mutable_descriptor_info ||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue