build: unify vulkan cpp platform args
these were duplicated all over the place, and it's annoying to have to keep duplicating them any time a new component includes the vulkan header Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13141>
This commit is contained in:
committed by
Marge Bot
parent
1d574d4860
commit
7cc85dba71
@@ -28,14 +28,12 @@ vklayer_flags = []
|
||||
if with_platform_x11
|
||||
vklayer_files += files('device_select_x11.c')
|
||||
vklayer_deps += dep_xcb_dri3
|
||||
vklayer_flags += [ '-DVK_USE_PLATFORM_XCB_KHR' ]
|
||||
endif
|
||||
|
||||
if with_platform_wayland
|
||||
vklayer_files += files('device_select_wayland.c')
|
||||
vklayer_files += [ wayland_drm_client_protocol_h, wayland_drm_protocol_c ]
|
||||
vklayer_deps += [dep_wayland_client, dep_wl_protocols]
|
||||
vklayer_flags += '-DVK_USE_PLATFORM_WAYLAND_KHR'
|
||||
endif
|
||||
|
||||
vklayer_mesa_device_select = shared_library(
|
||||
|
||||
Reference in New Issue
Block a user