From 52709709eb3d20680b29517262663d0ffdc8a061 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: (cherry picked from commit 77b69cdbc3ab2b794ab9c973b552c5401d43f181) --- .pick_status.json | 2 +- meson.build | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.pick_status.json b/.pick_status.json index 9b6ed944361..3762e7aedd1 100644 --- a/.pick_status.json +++ b/.pick_status.json @@ -324,7 +324,7 @@ "description": "meson: don't select the deprecated `swrast` option ourselves", "nominated": true, "nomination_type": 1, - "resolution": 0, + "resolution": 1, "main_sha": null, "because_sha": "010b2f9497ab256d9e8041207902948331af5b4b", "notes": null diff --git a/meson.build b/meson.build index bb041725a0b..84639322605 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