zink: prefer vulkan_core.h over vulkan.h
authorErik Faye-Lund <erik.faye-lund@collabora.com>
Fri, 17 Feb 2023 15:29:58 +0000 (16:29 +0100)
committerMarge Bot <emma+marge@anholt.net>
Wed, 22 Feb 2023 12:23:39 +0000 (12:23 +0000)
commite02cdb397e62ae40e901568cb60a3fe0b59db706
tree4ce9fc38eae818733794339ec9ccb09acb04c206
parent6242fe3923c4b0b0a09770aedf69460fac931344
zink: prefer vulkan_core.h over vulkan.h

There's just two places where we need any of the WSI specific vulkan
includes, the rest of Zink should do just fine with vulkan_core.h. So
let's include the win32-specific header explicitly in those two places,
and reduce the need for WSI specifics inside zink itself. Kopper
handles the rest of the WSI integration.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21441>
src/gallium/drivers/zink/nir_to_spirv/nir_to_spirv.h
src/gallium/drivers/zink/zink_batch.h
src/gallium/drivers/zink/zink_device_info.py
src/gallium/drivers/zink/zink_fence.c
src/gallium/drivers/zink/zink_format.h
src/gallium/drivers/zink/zink_instance.py
src/gallium/drivers/zink/zink_types.h