d3d12: Add mechanism for D3D12 Adapter Selection

This add a simple mechanism to select which GPU adapter the d3d12
driver should be using. A new environment variable is introduced.

MESA_D3D12_ADAPTER_NAME

This represent a substring to search for in the GPU descrition,
for example "NVIDIA" or "INTEL", or "NVIDIA GeForce RTX 3090",
etc...

GPU are searched in order and the first one to include the substring
becomes a match. If no match is found, we default to the first
enumerated GPU.
35 jobs for !10710 with d3d12_gpu_selection in 8 seconds (queued for 2 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #9599026
sanity

00:00:08

 
  Container
manual #9599029
aarch64 manual
arm_build
manual #9599030
windows shell 1809 mesa manual
windows_build_vs2019
manual #9599027
manual
x86_build-base
manual #9599028
manual
x86_test-base
 
  Container 2
created #9599035
android_build
created #9599032
i386_build
created #9599038
kernel+rootfs_amd64
created #9599039
aarch64
kernel+rootfs_arm64
created #9599040
aarch64
kernel+rootfs_armhf
created #9599033
ppc64el_build
created #9599034
s390x_build
created #9599031
x86_build
created #9599036
x86_test-gl
created #9599037
x86_test-vk
 
  Meson X86 64
created #9599046
meson-clang
created #9599047
meson-clover
created #9599043
meson-clover-testing
created #9599044
meson-gallium
created #9599045
meson-release
created #9599041
meson-testing
created #9599042
meson-testing-asan
created #9599048
meson-vulkan
 
  Build Misc
created #9599049
arm_test
created #9599050
meson-android
created #9599052
aarch64
meson-arm64
created #9599053
aarch64
meson-arm64-asan
created #9599054
aarch64
meson-arm64-build-test
created #9599051
aarch64
meson-armhf
created #9599056
meson-i386
created #9599059
meson-mingw32-x86_64
created #9599058
meson-ppc64el
created #9599057
kvm
meson-s390x
created #9599055
windows docker 1809 mesa
meson-windows-vs2019
 
  Layered Backends
created #9599060
windows docker 1809 mesa
test-d3d12-windows