egl: include directly the useful vulkan header, instead of including everything

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Erik Faye-Lund <kusmabite@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21489>
This commit is contained in:
Eric Engestrom 2023-02-23 13:21:22 +00:00 committed by Marge Bot
parent e97ed4fc89
commit c8d7e0c023
3 changed files with 5 additions and 3 deletions

View file

@ -34,7 +34,8 @@
#include <dlfcn.h>
#include <errno.h>
#include <unistd.h>
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_core.h>
#include <vulkan/vulkan_wayland.h>
#include <fcntl.h>
#include <xf86drm.h>
#include "drm-uapi/drm_fourcc.h"

View file

@ -35,7 +35,9 @@
#include <fcntl.h>
#include <errno.h>
#include <unistd.h>
#include <vulkan/vulkan.h>
#include <xcb/xcb.h>
#include <vulkan/vulkan_core.h>
#include <vulkan/vulkan_xcb.h>
#ifdef HAVE_LIBDRM
#include <xf86drm.h>
#endif

View file

@ -95,7 +95,6 @@ if with_dri2
)
files_egl += sha1_h
deps_for_egl += idep_xmlconfig
deps_for_egl += idep_vulkan_wsi_defines
link_for_egl += libloader
incs_for_egl += inc_loader
incs_for_egl += inc_gallium