From 77b69cdbc3ab2b794ab9c973b552c5401d43f181 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Thu, 25 Jul 2024 15:48:30 +0200 Subject: [PATCH] meson: don't select the deprecated `swrast` option ourselves Users get the deprecation warning but didn't do anything, they left things to `auto` and we pick the deprecated `swrast`? Hardly seems fair! (I forgot to do this when I added the deprecation warning to ajax's commit) Fixes: 010b2f9497ab256d9e80 ("gallium/meson: Deconflate swrast/softpipe/llvmpipe") Part-of: --- meson.build | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/meson.build b/meson.build index 4afad99f68d..e30395372a2 100644 --- a/meson.build +++ b/meson.build @@ -126,31 +126,31 @@ if gallium_drivers.contains('auto') # TODO: Sparc if ['x86', 'x86_64'].contains(host_machine.cpu_family()) gallium_drivers = [ - 'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'svga', 'swrast', + 'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'svga', 'llvmpipe', 'softpipe', 'iris', 'crocus', 'i915', 'zink' ] elif ['arm', 'aarch64'].contains(host_machine.cpu_family()) gallium_drivers = [ 'v3d', 'vc4', 'freedreno', 'etnaviv', 'nouveau', 'svga', - 'tegra', 'virgl', 'lima', 'panfrost', 'swrast', 'iris', + 'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris', 'zink' ] elif ['mips', 'mips64', 'ppc', 'ppc64', 'riscv32', 'riscv64'].contains(host_machine.cpu_family()) gallium_drivers = [ - 'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'swrast', 'zink' + 'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'llvmpipe', 'softpipe', 'zink' ] elif ['loongarch64'].contains(host_machine.cpu_family()) gallium_drivers = [ - 'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'etnaviv', 'swrast', 'zink' + 'r300', 'r600', 'radeonsi', 'nouveau', 'virgl', 'etnaviv', 'llvmpipe', 'softpipe', 'zink' ] else error('Unknown architecture @0@. Please pass -Dgallium-drivers to set driver options. Patches gladly accepted to fix this.'.format( host_machine.cpu_family())) endif elif ['windows'].contains(host_machine.system()) - gallium_drivers = ['swrast', 'zink', 'd3d12'] + gallium_drivers = ['llvmpipe', 'softpipe', 'zink', 'd3d12'] elif ['darwin', 'cygwin', 'haiku'].contains(host_machine.system()) - gallium_drivers = ['swrast'] + gallium_drivers = ['llvmpipe', 'softpipe'] else error('Unknown OS @0@. Please pass -Dgallium-drivers to set driver options. Patches gladly accepted to fix this.'.format( host_machine.system())) @@ -160,7 +160,7 @@ elif gallium_drivers.contains('all') # is not available on non-Intel distros. gallium_drivers = [ 'r300', 'r600', 'radeonsi', 'crocus', 'v3d', 'vc4', 'freedreno', 'etnaviv', - 'nouveau', 'svga', 'tegra', 'virgl', 'lima', 'panfrost', 'swrast', 'iris', + 'nouveau', 'svga', 'tegra', 'virgl', 'lima', 'panfrost', 'llvmpipe', 'softpipe', 'iris', 'zink', 'd3d12', 'asahi' ] endif