radeonsi: Calculate the tess LDS offsets instead of using an argument.

This commit gets rid of the tcs_out_lds_offsets argument.
Instead, it calculates the patch0 offset and the patch data offset
in the shader. LLVM generates overall better code with this change.

Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Status Job ID Name Coverage
  Container
manual arm_build #7774558
aarch64 manual
manual arm_test-base #7774559
manual
manual windows_build_vs2019 #7774560
windows shell 1809 mesa manual
manual x86_build-base #7774556
manual
manual x86_test-base #7774557
manual
 
  Container 2
created android_build #7774568
created arm64_test #7774571
created armhf_test #7774572
created i386_build #7774565
created kernel+rootfs_amd64 #7774561
created kernel+rootfs_arm64 #7774562
aarch64
created kernel+rootfs_armhf #7774563
aarch64
created ppc64el_build #7774566
created s390x_build #7774567
created x86_build #7774564
created x86_test-gl #7774569
created x86_test-vk #7774570
 
  Meson X86 64
created meson-clang #7774578
created meson-clover #7774579
created meson-clover-testing #7774575
created meson-gallium #7774576
gstreamer
created meson-release #7774577
created meson-testing #7774573
created meson-testing-asan #7774574
created meson-vulkan #7774580
 
  Build Misc
created meson-android #7774581
created meson-arm64 #7774583
aarch64
created meson-arm64-asan #7774584
aarch64
created meson-arm64-build-test #7774585
aarch64
created meson-armhf #7774582
aarch64
created meson-i386 #7774586
created meson-mingw32-x86_64 #7774589
created meson-ppc64el #7774588
kvm
created meson-s390x #7774587
kvm
 
  Amd
created radeonsi-stoney-gles31:amd64 #7774590
mesa-ci-aarch64-lava-collabora
created radeonsi-stoney-traces:amd64 #7774591
mesa-ci-aarch64-lava-collabora
created radv-polaris10-traces #7774592
polaris10 manual
created radv_polaris10_vkcts #7774594
polaris10 manual
created radv-raven-traces #7774593
raven manual
 
  Intel
created iris-apl-traces:amd64 #7774595
mesa-ci-aarch64-lava-collabora manual
created iris-glk-traces:amd64 #7774596
mesa-ci-aarch64-lava-collabora manual
 
  Broadcom
created v3d-rpi4-piglit-quick_gl:armhf 1/2 #7774603
igalia-rpi4 manual
created v3d-rpi4-piglit-quick_gl:armhf 2/2 #7774604
igalia-rpi4 manual
created v3d-rpi4-piglit-quick_shader:armhf #7774605
igalia-rpi4 manual
created vc4-rpi3-piglit-quick_gl:armhf 1/4 #7774597
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 2/4 #7774598
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 3/4 #7774599
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 4/4 #7774600
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 1/2 #7774601
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 2/2 #7774602
igalia-rpi3 manual
 
  Freedreno
created a530_piglit_gl #7774606
google-freedreno-db820c manual
created a530_piglit_shader #7774607
google-freedreno-db820c manual
created a630_piglit_gl #7774609
google-freedreno-cheza manual
created a630_piglit_shader #7774610
google-freedreno-cheza manual
created a630_vk_asan #7774608
google-freedreno-cheza manual
 
  Layered Backends
created virgl-gles2-on-gles #7774611
manual
created virgl-gles31-on-gles 1/2 #7774613
manual
created virgl-gles31-on-gles 2/2 #7774614
manual
created virgl-gles3-on-gles #7774612
manual