glx: 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:56 +00:00 committed by Marge Bot
parent c8d7e0c023
commit 2bf24c84f3
2 changed files with 4 additions and 2 deletions

View File

@ -23,6 +23,7 @@
#if defined(GLX_DIRECT_RENDERING) && !defined(GLX_USE_APPLEGL)
#include <xcb/xcb.h>
#include <xcb/xproto.h>
#include <xcb/shm.h>
#include <X11/Xlib.h>
@ -33,7 +34,8 @@
#include "drisw_priv.h"
#include <X11/extensions/shmproto.h>
#include <assert.h>
#include <vulkan/vulkan.h>
#include <vulkan/vulkan_core.h>
#include <vulkan/vulkan_xcb.h>
#include "util/u_debug.h"
#include "kopper_interface.h"
#include "loader_dri_helper.h"

View File

@ -135,7 +135,7 @@ libglx = static_library(
extra_libs_libglx,
],
dependencies : [
idep_mesautil, idep_xmlconfig, idep_vulkan_wsi_defines,
idep_mesautil, idep_xmlconfig,
dep_libdrm, dep_dri2proto, dep_glproto, dep_x11, dep_glvnd, dep_xxf86vm, dep_xshmfence
],
)