venus: fix an oob in descriptor pool state restoration
authorYiwei Zhang <zzyiwei@chromium.org>
Mon, 12 Sep 2022 05:30:53 +0000 (05:30 +0000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 12 Sep 2022 22:10:45 +0000 (22:10 +0000)
commita49f3069f4882085b1a2b0ff0abab81397e64d9f
tree3d32ddbb4f6e3a9fdc44272770b4d4affa196c4d
parent4d8420dcb4af18c1483c7d366784d76942cb0854
venus: fix an oob in descriptor pool state restoration

Fixes: de5879447b4 ("Track bitset when create descriptor pool")
Signed-off-by: Yiwei Zhang <zzyiwei@chromium.org>
Reviewed-by: Chad Versace <chadversary@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18555>
src/virtio/vulkan/vn_descriptor_set.c