vulkan: provide common functions to check device features
authorTapani Pälli <tapani.palli@intel.com>
Fri, 1 Oct 2021 04:55:09 +0000 (07:55 +0300)
committerMarge Bot <eric+marge@anholt.net>
Fri, 1 Oct 2021 17:37:02 +0000 (17:37 +0000)
commit2e5718c957415b93da6be5e1ff61d09e5e9933a2
treecdf401d543721253f4ab0bd4a28bd858a9f9f388
parent2aa705ec87ca4bf1e8d86cb836a685b2959f08fc
vulkan: provide common functions to check device features

v2: move checks to vk_device_init, ignore struct types from
    provisional extensions + lots of cleanups/fixes (Jason Ekstrand)
v3: squash in following patch from Jason:
    "vulkan: Restructure vk_physical_device_check_device_features()"
v4 (Jason): Fix a Windows build error

Signed-off-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12867>
src/vulkan/util/meson.build
src/vulkan/util/vk_device.c
src/vulkan/util/vk_physical_device_features.py [new file with mode: 0644]