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>
54 jobs for !9135 with turnip/fix/multiview-multipos-opt-limits in 12 minutes and 21 seconds (queued for 5 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed sanity #7437710

00:00:09

 
  Container
passed arm_build #7437715
aarch64

00:00:15

passed arm_test-base #7437717

00:00:11

passed windows_build_vs2019 #7437719
windows shell 1809 mesa

00:00:09

passed x86_build-base #7437712

00:00:16

passed x86_test-base #7437714

00:00:16

 
  Container 2
passed android_build #7437735

00:00:12

passed arm64_test #7437740

00:00:16

passed armhf_test #7437741

00:00:16

passed i386_build #7437729

00:00:17

passed kernel+rootfs_amd64 #7437722

00:00:09

passed kernel+rootfs_arm64 #7437723
aarch64

00:00:12

passed kernel+rootfs_armhf #7437725
aarch64

00:00:12

passed ppc64el_build #7437731

00:00:12

passed s390x_build #7437733

00:00:15

passed x86_build #7437727

00:00:12

passed x86_test-gl #7437736

00:00:13

passed x86_test-vk #7437738

00:00:11

 
  Meson X86 64
passed meson-clang #7437752

00:03:17

passed meson-clover #7437754

00:02:08

passed meson-clover-testing #7437747

00:01:10

passed meson-gallium #7437749
gstreamer

00:01:13

passed meson-release #7437751

00:01:24

passed meson-testing #7437743

00:01:42

passed meson-testing-asan #7437745

00:06:09

passed meson-vulkan #7437756

00:01:39

 
  Build Misc
passed meson-android #7437757

00:01:08

passed meson-arm64 #7437761
aarch64

00:01:36

passed meson-arm64-asan #7437763
aarch64

00:03:03

passed meson-arm64-build-test #7437765
aarch64

00:01:34

passed meson-armhf #7437759
aarch64

00:02:40

passed meson-i386 #7437767

00:01:45

passed meson-mingw32-x86_64 #7437773

00:01:48

passed meson-ppc64el #7437771
kvm

00:02:01

passed meson-s390x #7437769
kvm

00:02:30

 
  Freedreno
passed a306_gles2 #7437794
google-freedreno-db410c

00:07:52

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

00:08:16

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

00:08:16

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

00:08:34

passed a306_gles3_options #7437802
google-freedreno-db410c

00:06:22

passed a530_gles2 1/2 #7437804
google-freedreno-db820c

00:08:48

passed a530_gles2 2/2 #7437806
google-freedreno-db820c

00:08:32

passed a530_gles3 #7437808
google-freedreno-db820c

00:05:40

passed a530_gles31 #7437810
google-freedreno-db820c

00:07:50

passed a630_gl #7437782
google-freedreno-cheza

00:01:23

passed a630_gles2 #7437776
google-freedreno-cheza

00:01:28

passed a630_gles3 #7437780
google-freedreno-cheza

00:04:40

passed a630_gles31 #7437778
google-freedreno-cheza

00:03:53

passed a630_gles_asan #7437786
google-freedreno-cheza

00:03:41

passed a630_gles_others #7437784
google-freedreno-cheza

00:02:33

passed a630-traces #7437774
google-freedreno-cheza

00:09:44

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

00:07:38

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

00:07:37

passed a630_vk_sysmem #7437792
google-freedreno-cheza

00:02:17