meson: Add vulkan-drivers=all option
To build-test everything, helpful to check common code changes before pounding CI. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Cc: mesa-stable Reviewed-by: Eric Engestrom <eric@igalia.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25882>
This commit is contained in:
parent
2552ac360d
commit
b70e948886
2 changed files with 7 additions and 1 deletions
|
|
@ -213,6 +213,12 @@ if _vulkan_drivers.contains('auto')
|
||||||
error('Unknown OS @0@. Please pass -Dvulkan-drivers to set driver options. Patches gladly accepted to fix this.'.format(
|
error('Unknown OS @0@. Please pass -Dvulkan-drivers to set driver options. Patches gladly accepted to fix this.'.format(
|
||||||
host_machine.system()))
|
host_machine.system()))
|
||||||
endif
|
endif
|
||||||
|
elif _vulkan_drivers.contains('all')
|
||||||
|
# Build every vulkan driver regardless of architecture.
|
||||||
|
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'swrast',
|
||||||
|
'freedreno', 'panfrost', 'virtio', 'broadcom',
|
||||||
|
'imagination-experimental', 'microsoft-experimental',
|
||||||
|
'nouveau-experimental']
|
||||||
endif
|
endif
|
||||||
|
|
||||||
with_intel_vk = _vulkan_drivers.contains('intel')
|
with_intel_vk = _vulkan_drivers.contains('intel')
|
||||||
|
|
|
||||||
|
|
@ -211,7 +211,7 @@ option(
|
||||||
value : ['auto'],
|
value : ['auto'],
|
||||||
choices : ['auto', 'amd', 'broadcom', 'freedreno', 'intel', 'intel_hasvk',
|
choices : ['auto', 'amd', 'broadcom', 'freedreno', 'intel', 'intel_hasvk',
|
||||||
'panfrost', 'swrast', 'virtio', 'imagination-experimental',
|
'panfrost', 'swrast', 'virtio', 'imagination-experimental',
|
||||||
'microsoft-experimental', 'nouveau-experimental'],
|
'microsoft-experimental', 'nouveau-experimental', 'all'],
|
||||||
description : 'List of vulkan drivers to build. If this is set to auto ' +
|
description : 'List of vulkan drivers to build. If this is set to auto ' +
|
||||||
'all drivers applicable to the target OS/architecture ' +
|
'all drivers applicable to the target OS/architecture ' +
|
||||||
'will be built'
|
'will be built'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue