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