st/mesa: always report the max samples as supported

This is required by GL. Doing this even when the backend driver does not
support it leads to creating attachments which are not renderable. This
is not ideal, but does pass tests. This covers scenarios such as missing
MSAA for 128-bit formats on Sandybridge, and missing 8x MSAA on 128-bit
formats on NVIDIA Tesla generation boards.

Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <!11372>
153 jobs for !11372 with st-samples in 17 minutes and 56 seconds (queued for 12 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #10925418
sanity

00:00:08

 
  Container
passed #10925425
aarch64
arm_build

00:00:26

passed #10925428
windows shell 1809 mesa
windows_build_vs2019

00:00:11

passed #10925421
x86_build-base

00:00:20

passed #10925422
x86_test-base

00:00:21

 
  Container 2
passed #10925443
android_build

00:00:25

passed #10925434
i386_build

00:00:23

passed #10925450
kernel+rootfs_amd64

00:00:24

passed #10925453
aarch64
kernel+rootfs_arm64

00:00:12

passed #10925455
aarch64
kernel+rootfs_armhf

00:00:12

passed #10925436
ppc64el_build

00:00:24

passed #10925439
s390x_build

00:00:25

passed #10925432
x86_build

00:00:23

passed #10925446
x86_test-gl

00:00:22

passed #10925448
x86_test-vk

00:00:25

 
  Meson X86 64
passed #10925471
meson-clang

00:09:52

passed #10925473
meson-clover

00:01:32

passed #10925464
meson-clover-testing

00:01:25

passed #10925466
meson-gallium

00:05:29

passed #10925468
meson-release

00:03:31

passed #10925459
meson-testing

00:01:48

passed #10925461
meson-testing-asan

00:02:20

passed #10925476
meson-vulkan

00:01:23

 
  Build Misc
passed #10925478
arm_test

00:00:22

passed #10925480
meson-android

00:00:36

passed #10925486
aarch64
meson-arm64

00:02:34

passed #10925489
aarch64
meson-arm64-asan

00:03:42

passed #10925491
aarch64
meson-arm64-build-test

00:01:21

passed #10925483
aarch64
meson-armhf

00:01:43

passed #10925499
meson-i386

00:01:35

passed #10925507
meson-mingw32-x86_64

00:01:52

passed #10925505
meson-ppc64el

00:01:43

passed #10925502
kvm
meson-s390x

00:03:49

passed #10925494
windows docker 1809 mesa
meson-windows-vs2019

00:05:17

 
  Amd
passed #10925522
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles2:amd64

00:05:53

passed #10925533
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles31:amd64 1/2

00:11:19

passed #10925537
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles31:amd64 2/2

00:10:50

passed #10925525
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles3:amd64 1/2

00:08:38

passed #10925528
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles3:amd64 2/2

00:07:55

passed #10925543
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-piglit-gl:amd64

00:12:15

passed #10925541
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-traces:amd64

00:06:24

passed #10925519
radv-fossils

00:08:32

passed #10925509
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 1/3

00:11:39

passed #10925513
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 2/3

00:12:58

passed #10925516
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radv_stoney_vkcts:amd64 3/3

00:13:04

 
  Intel
passed #10925558
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-egl

00:06:25

passed #10925555
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gl

00:08:11

passed #10925553
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles2

00:04:54

passed #10925560
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-piglit 1/3

00:14:03

passed #10925561
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-piglit 2/3

00:14:40

passed #10925563
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-piglit 3/3

00:15:03

passed #10925567
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-traces

00:09:07

passed #10925551
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-egl

00:07:00

passed #10925545
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles2

00:04:26

passed #10925548
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles3

00:06:40

passed #10925550
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles31

00:07:01

passed #10925565
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-traces

00:06:26

 
  Arm
passed #10925587
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles31:arm64

00:11:02

passed #10925583
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 1/2

00:08:46

passed #10925586
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 2/2

00:07:57

passed #10925569
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
panfrost-t720-gles2:arm64

00:08:44

passed #10925571
mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-gles2:armhf

00:06:08

passed #10925573
mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-traces:armhf

00:06:31

passed #10925579
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles31:arm64

00:07:04

passed #10925575
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 1/2

00:07:33

passed #10925577
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 2/2

00:07:20

passed #10925581
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-traces:arm64

00:05:27

 
  Broadcom
passed #10925621
igalia-rpi4
v3d-rpi4-egl:armhf

00:06:46

passed #10925613
igalia-rpi4
v3d-rpi4-gles2:armhf

00:07:06

passed #10925602
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:09:40

passed #10925603
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:09:56

passed #10925605
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:09:23

passed #10925607
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:09:48

passed #10925609
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:08:09

passed #10925611
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:08:41

passed #10925619
igalia-rpi4
v3d-rpi4-khr-gles2:armhf

00:02:00

passed #10925615
igalia-rpi4
v3d-rpi4-khr-gles31:armhf

00:03:02

passed #10925617
igalia-rpi4
v3d-rpi4-khr-gles3:armhf

00:03:57

passed #10925623
igalia-rpi4
v3d-rpi4-piglit:armhf 1/3

00:11:05

passed #10925625
igalia-rpi4
v3d-rpi4-piglit:armhf 2/3

00:10:51

passed #10925627
igalia-rpi4
v3d-rpi4-piglit:armhf 3/3

00:11:07

passed #10925629
igalia-rpi4
v3dv-rpi4-vk:arm64 1/6

00:06:54

passed #10925631
igalia-rpi4
v3dv-rpi4-vk:arm64 2/6

00:06:42

passed #10925633
igalia-rpi4
v3dv-rpi4-vk:arm64 3/6

00:06:35

passed #10925635
igalia-rpi4
v3dv-rpi4-vk:arm64 4/6

00:06:46

passed #10925637
igalia-rpi4
v3dv-rpi4-vk:arm64 5/6

00:06:49

passed #10925639
igalia-rpi4
v3dv-rpi4-vk:arm64 6/6

00:06:45

passed #10925600
igalia-rpi3
vc4-rpi3-egl:armhf

00:06:52

passed #10925589
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:12

passed #10925591
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:03:56

passed #10925593
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:18

passed #10925595
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:20

passed #10925597
igalia-rpi3
vc4-rpi3-khr-gles2:armhf

00:02:05

 
  Freedreno
passed #10925642
google-freedreno-db410c
a306_gles2

00:04:55

passed #10925644
google-freedreno-db410c
a306_gles3 1/3

00:09:05

passed #10925646
google-freedreno-db410c
a306_gles3 2/3

00:08:51

passed #10925647
google-freedreno-db410c
a306_gles3 3/3

00:08:59

passed #10925649
google-freedreno-db410c
a306_gles3_options

00:03:46

passed #10925651
google-freedreno-db410c
a306-traces

00:02:52

passed #10925653
google-freedreno-db820c
a530_gles2

00:05:45

passed #10925659
google-freedreno-db820c
a530_gles31 1/2

00:05:50

passed #10925655
google-freedreno-db820c
a530_gles3 1/2

00:08:30

passed #10925661
google-freedreno-db820c
a530_gles31 2/2

00:05:53

passed #10925657
google-freedreno-db820c
a530_gles3 2/2

00:07:29

passed #10925663
google-freedreno-db820c
a530_piglit_shader 1/2

00:07:56

passed #10925665
google-freedreno-db820c
a530_piglit_shader 2/2

00:08:16

passed #10925667
google-freedreno-db820c
a530-traces

00:07:52

passed #10925677
google-freedreno-cheza
a630_egl

00:02:10

passed #10925675
google-freedreno-cheza
a630_gl

00:01:52

passed #10925669
google-freedreno-cheza
a630_gles2

00:01:42

passed #10925673
google-freedreno-cheza
a630_gles3

00:04:57

passed #10925671
google-freedreno-cheza
a630_gles31

00:04:03

passed #10925680
google-freedreno-cheza
a630_gles_others

00:02:44

passed #10925688
google-freedreno-cheza
a630_piglit

00:08:50

passed #10925690
google-freedreno-cheza
a630-traces

00:04:18

passed #10925682
google-freedreno-cheza
a630_vk 1/2

00:10:05

passed #10925684
google-freedreno-cheza
a630_vk 2/2

00:09:59

passed #10925686
google-freedreno-cheza
a630_vk_sysmem

00:02:09

 
  Software Renderer
passed #10925731
lavapipe-nir-stress

00:00:58

passed #10925729
lavapipe-vk

00:07:01

passed #10925707
llvmpipe-egl

00:01:09

passed #10925703
llvmpipe-gl

00:02:41

passed #10925698
llvmpipe-gles2

00:01:29

passed #10925700
llvmpipe-gles3

00:02:23

passed #10925702
llvmpipe-gles31

00:08:21

passed #10925705
llvmpipe-khr-gles2

00:00:22

passed #10925693
llvmpipe-piglit-glslparser

00:04:26

passed #10925692
llvmpipe-piglit-quick_gl

00:06:51

passed #10925695
llvmpipe-piglit-quick_shader

00:06:16

passed #10925697
llvmpipe-traces

00:01:49

passed #10925723
softpipe-asan-gles31

00:02:13

passed #10925727
softpipe-gl

00:00:56

passed #10925709
softpipe-gles2

00:01:42

passed #10925711
softpipe-gles3

00:05:11

passed #10925713
softpipe-gles31 1/2

00:05:05

passed #10925715
softpipe-gles31 2/2

00:03:14

passed #10925717
softpipe-khr-gles2

00:00:46

passed #10925719
softpipe-khr-gles3

00:00:38

passed #10925721
softpipe-khr-gles31

00:00:29

passed #10925725
softpipe-piglit-quick

00:04:39

 
  Layered Backends
passed #10925757
1809 mesa windows docker
test-d3d12-windows

00:03:34

passed #10925741
virgl-gl30-on-gl

00:00:29

passed #10925742
virgl-gl31-on-gl

00:01:05

passed #10925744
virgl-gl32-on-gl

00:01:23

passed #10925733
virgl-gles2-on-gl

00:01:09

passed #10925737
virgl-gles31-on-gl 1/2

00:03:04

passed #10925739
virgl-gles31-on-gl 2/2

00:03:17

passed #10925735
virgl-gles3-on-gl

00:02:41

passed #10925747
kvm
virgl-traces

00:05:03

passed #10925755
zink-lvp-gl

00:01:21

passed #10925751
zink-lvp-gles2

00:01:35

passed #10925753
zink-lvp-gles3

00:01:37

passed #10925749
zink-piglit-quick_gl

00:06:22