mesa: add gfxstream-experimental to -Dvulkan-drivers

This adds gfxstream-vk as a vulkan driver to Mesa.  It
will be used in the following places:

  - Android Emulator
  - Fuchsia Emulator
  - Cloud Android
  - AAOS reference hardware
  - [a few other places]

meson amd64-build/ -Dvulkan-drivers="gfxstream-experimental" -Dgallium-drivers="" -Dopengl=false

Reviewed-by: Aaron Ruby <aruby@blackberry.com>
Acked-by: Yonggang Luo <luoyonggang@gmail.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/27246>
This commit is contained in:
Gurchetan Singh
2024-01-24 10:12:31 -08:00
committed by Marge Bot
parent 889459e788
commit 5af81ed7c5
6 changed files with 76 additions and 3 deletions

View File

@@ -242,7 +242,7 @@ elif _vulkan_drivers.contains('all')
_vulkan_drivers = ['amd', 'intel', 'intel_hasvk', 'swrast',
'freedreno', 'panfrost', 'virtio', 'broadcom',
'imagination-experimental', 'microsoft-experimental',
'nouveau', 'asahi']
'nouveau', 'asahi', 'gfxstream-experimental']
endif
with_intel_vk = _vulkan_drivers.contains('intel')
@@ -258,6 +258,7 @@ with_imagination_srv = get_option('imagination-srv')
with_microsoft_vk = _vulkan_drivers.contains('microsoft-experimental')
with_nouveau_vk = _vulkan_drivers.contains('nouveau')
with_asahi_vk = _vulkan_drivers.contains('asahi')
with_gfxstream_vk = _vulkan_drivers.contains('gfxstream-experimental')
with_any_vk = _vulkan_drivers.length() != 0
if with_any_vk and host_machine.system() == 'windows' and meson.version().version_compare('< 1.3')