mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-01-22 05:33:55 +08:00
meson: simplify another "any of" check
Signed-off-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22491>
This commit is contained in:
parent
5feb6133d7
commit
c81b78041e
@ -244,7 +244,12 @@ with_imagination_srv = get_option('imagination-srv')
|
||||
with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental')
|
||||
with_any_vk = _vulkan_drivers.length() != 0
|
||||
|
||||
with_any_broadcom = with_gallium_vc4 or with_gallium_v3d or with_broadcom_vk
|
||||
with_any_broadcom = [
|
||||
with_gallium_vc4,
|
||||
with_gallium_v3d,
|
||||
with_broadcom_vk,
|
||||
].contains(true)
|
||||
|
||||
with_any_intel = [
|
||||
with_gallium_crocus,
|
||||
with_gallium_i915,
|
||||
|
Loading…
Reference in New Issue
Block a user