vulkan: Properly filter entrypoints
authorFaith Ekstrand <faith.ekstrand@collabora.com>
Thu, 9 Feb 2023 18:27:34 +0000 (12:27 -0600)
committerMarge Bot <emma+marge@anholt.net>
Fri, 17 Feb 2023 03:42:34 +0000 (03:42 +0000)
commit4059c78633c45d17659975600bb514ea9a6e0106
tree3b04d8636e13e3db3c9e8a617571975ff3b91059
parent6910d1337a94281a3786ddd809b8bd680b21ca8d
vulkan: Properly filter entrypoints

We now use get_all_required() to get all required commands and use that
to filter instead of doing it manually.  Also, we can pull entrypoint
extension etc. information from the requirements struct.  Finally, we
also have to filter the actual commands themselves as well as arguments
per-API because there may be multiple versions or variants depending on
the API being used.

Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21225>
src/vulkan/util/vk_entrypoints.py