vulkan: prefer vulkan_core.h over vulkan.h
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Wed, 8 Feb 2023 09:07:21 +0000 (10:07 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Feb 2023 18:35:14 +0000 (18:35 +0000)
commit7ea85871fe7551d933948155b477a10a00548d8a
tree9f2743c50c2d95e2ca1b783f79b66eea2edf56cd
parentf5bde99cbdd208916795dc463663ddd97428ecc1
vulkan: prefer vulkan_core.h over vulkan.h

If we include vulkan.h, we risk including the WSI bits as well, which we
don't need here. Only trouble can follow from including these where
they're not needed.

So let's include vulkan_core.h in these places instead.

Fixes: b39958a3a18 ("anv,nir: Move the ANV YCbCr lowering pass to common code")
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21185>
src/vulkan/overlay-layer/overlay.cpp
src/vulkan/runtime/vk_descriptors.h
src/vulkan/runtime/vk_format_info_gen.py
src/vulkan/runtime/vk_object.h
src/vulkan/runtime/vk_shader_module.h
src/vulkan/util/gen_enum_to_str.py
src/vulkan/util/rmv/vk_rmv_common.h
src/vulkan/util/rmv/vk_rmv_tokens.h
src/vulkan/util/vk_alloc.h
src/vulkan/util/vk_cmd_queue_gen.py
src/vulkan/util/vk_util.h