turnip: consider HW limit on number of views when apply multipos opt

Blob doesn't apply multipos optimization starting from 11 views
even on a650, however in practice, with the limit of 16 views,
tests pass on a640/a650 and fail on a630.

Fixes tests:
 dEQP-VK.multiview.draw_indexed.max_multi_view_view_count
 dEQP-VK.multiview.input_attachments.max_multi_view_view_count
 dEQP-VK.multiview.masks.max_multi_view_view_count
 dEQP-VK.multiview.multisample.max_multi_view_view_count
 dEQP-VK.multiview.queries.max_multi_view_view_count
 dEQP-VK.multiview.renderpass2.index.fragment_shader.max_multi_view_view_count
 dEQP-VK.multiview.secondary_cmd_buffer.max_multi_view_view_count

Fixes: 8d275778 ("tu: Enable multi-position output")

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!9135>
Backported from: b6b3b384
93 jobs for !10204 with turnip/backport-turnip-patch-21.0 in 10 seconds (queued for 20 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #8811436
sanity

00:00:10

 
  Container
manual #8811439
aarch64 manual
arm_build
manual #8811440
manual
arm_test-base
manual #8811441
windows shell 1809 mesa manual
windows_build_vs2019
manual #8811437
manual
x86_build-base
manual #8811438
manual
x86_test-base
 
  Container 2
created #8811449
android_build
created #8811452
arm64_test
created #8811453
armhf_test
created #8811446
i386_build
created #8811442
kernel+rootfs_amd64
created #8811443
aarch64
kernel+rootfs_arm64
created #8811444
aarch64
kernel+rootfs_armhf
created #8811447
ppc64el_build
created #8811448
s390x_build
created #8811445
x86_build
created #8811450
x86_test-gl
created #8811451
x86_test-vk
 
  Meson X86 64
created #8811459
meson-clang
created #8811460
meson-clover
created #8811456
meson-clover-testing
created #8811457
meson-gallium
created #8811458
meson-release
created #8811454
meson-testing
created #8811455
meson-testing-asan
created #8811461
meson-vulkan
 
  Build Misc
created #8811462
meson-android
created #8811464
aarch64
meson-arm64
created #8811465
aarch64
meson-arm64-build-test
created #8811463
aarch64
meson-armhf
created #8811468
meson-i386
created #8811471
meson-mingw32-x86_64
created #8811470
kvm
meson-ppc64el
created #8811469
kvm
meson-s390x
created #8811466
docker windows 1809 mesa
meson-windows-vs2019
created #8811467
allowed to fail
scons-win64
 
  Amd
created #8811472
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #8811474
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #8811473
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #8811475
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
created #8811476
radv-fossils
 
  Arm
created #8811482
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #8811483
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64
created #8811477
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #8811478
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #8811479
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #8811480
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #8811481
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Freedreno
created #8811494
google-freedreno-db410c
arm64_a306_gles2
created #8811495
google-freedreno-db410c
arm64_a306_gles3
created #8811496
google-freedreno-db410c
arm64_a306_gles3_options
created #8811497
google-freedreno-db820c
arm64_a530_gles2 1/2
created #8811498
google-freedreno-db820c
arm64_a530_gles2 2/2
created #8811499
google-freedreno-db820c
arm64_a530_gles3
created #8811500
google-freedreno-db820c
arm64_a530_gles31
created #8811501
google-freedreno-db820c
arm64_a530_piglit_shader
created #8811488
google-freedreno-cheza
arm64_a630_gl
created #8811485
google-freedreno-cheza
arm64_a630_gles2
created #8811487
google-freedreno-cheza
arm64_a630_gles3
created #8811486
google-freedreno-cheza
arm64_a630_gles31
created #8811489
google-freedreno-cheza
arm64_a630_gles_others
created #8811493
google-freedreno-cheza
arm64_a630_piglit_shader
created #8811484
google-freedreno-cheza
arm64-a630-traces
created #8811490
google-freedreno-cheza
arm64_a630_vk 1/2
created #8811491
google-freedreno-cheza
arm64_a630_vk 2/2
created #8811492
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Raspberrypi
created #8811502
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #8811503
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #8811504
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #8811505
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Software Renderer
created #8811518
lavapipe-vk
created #8811511
llvmpipe-gles2
created #8811506
llvmpipe-piglit-cl
created #8811508
llvmpipe-piglit-glslparser
created #8811507
llvmpipe-piglit-quick_gl
created #8811509
llvmpipe-piglit-quick_shader
created #8811510
llvmpipe-traces
created #8811517
softpipe-gl
created #8811512
softpipe-gles2
created #8811513
softpipe-gles3
created #8811514
softpipe-gles31 1/2
created #8811515
softpipe-gles31 2/2
created #8811516
softpipe-piglit-quick
 
  Layered Backends
created #8811519
docker windows 1809 mesa
test-d3d12-windows
created #8811525
virgl-gl30-on-gl
created #8811526
virgl-gl31-on-gl
created #8811527
virgl-gl32-on-gl
created #8811521
virgl-gles2-on-gl
created #8811523
virgl-gles31-on-gl 1/2
created #8811524
virgl-gles31-on-gl 2/2
created #8811522
virgl-gles3-on-gl
created #8811520
virgl-traces
 
  Deploy
manual #8811528
manual
test-docs-mr