nir: Add an option for lowering TessLevelInner/Outer to vecs

The GLSL to NIR compiler supports the LowerTessLevel flag to convert
gl_TessLevelInner/Outer from their GLSL declarations as arrays of
floats to vec4/vec2s to better match how they are represented in
hardware.

This commit adds the similar support to the SPIR-V to NIR compiler so
turnip can use the same IR3/NIR tess lowering passes as freedreno.
Status Job ID Name Coverage
  Container
manual #2708882
aarch64 manual
arm_build
manual #2708883
aarch64 manual
arm_test
manual #2708884
windows shell 1809 mesa manual
windows_build_vs2019
manual #2708878
manual
x86_build
manual #2708881
manual
x86_build_old
manual #2708879
manual
x86_test-gl
manual #2708880
manual
x86_test-vk
 
  Meson X86 64
created #2708888
meson-clang
created #2708887
meson-classic
created #2708889
meson-clover
created #2708890
meson-clover-old-llvm
created #2708886
meson-gallium
created #2708885
meson-testing
created #2708891
meson-vulkan
 
  Scons
created #2708892
allowed to fail
scons-win64
 
  Meson Misc
created #2708894
aarch64
meson-arm64
created #2708895
aarch64
meson-arm64-build-test
created #2708893
aarch64
meson-armhf
created #2708897
meson-i386
created #2708900
meson-mingw32-x86_64
created #2708899
kvm
meson-ppc64el
created #2708898
kvm
meson-s390x
created #2708896
docker windows 1809 mesa
meson-windows-vs2019
 
  Llvmpipe
created #2708904
llvmpipe-gles2
created #2708905
llvmpipe-traces
created #2708902
piglit-glslparser
created #2708901
piglit-quick_gl
created #2708903
piglit-quick_shader
 
  Softpipe
created #2708906
softpipe-gles2
created #2708909
softpipe-gles31 1/4
created #2708907
softpipe-gles3 1/2
created #2708910
softpipe-gles31 2/4
created #2708911
softpipe-gles31 3/4
created #2708912
softpipe-gles31 4/4
created #2708908
softpipe-gles3 2/2
 
  Freedreno
created #2708917
google-freedreno-db410c
arm64_a306_gles2
created #2708918
google-freedreno-db410c
arm64_a306_gles3
created #2708919
google-freedreno-db820c
arm64_a530_gles2
created #2708920
google-freedreno-db820c
arm64_a530_gles3
created #2708921
google-freedreno-db820c
arm64_a530_gles31
created #2708913
mesa-cheza
arm64_a630_gles2
created #2708915
mesa-cheza
arm64_a630_gles3
created #2708914
mesa-cheza
arm64_a630_gles31
created #2708916
mesa-cheza
arm64_a630_gles31_options
 
  Panfrost
created #2708922
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #2708923
mesa-ci-aarch64-lava-collabora
panfrost-t760-gles2:armhf
created #2708924
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #2708925
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64
 
  Radv
created #2708926
radv-fossils
 
  Virgl
created #2708927
virgl-gles2
created #2708928
virgl-gles3
created #2708929
virgl-gles31
created #2708930
virgl-traces