venus: check against the Vulkan type rather than type index.
authorDawn Han <dawnhan@google.com>
Wed, 30 Nov 2022 19:02:40 +0000 (19:02 +0000)
committerMarge Bot <emma+marge@anholt.net>
Tue, 6 Dec 2022 19:50:53 +0000 (19:50 +0000)
commit0033ec1f69338d35aee7ef57196e0ddcf8db20e3
tree0c841a9d3c715d9287c72c12df207884ac53949f
parentfbf4c6e43ff810625ff916d40c6b00429adaaf14
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>
src/virtio/vulkan/vn_descriptor_set.c