radv: Fix gs_vgpr_comp_cnt for NGG culling in vertex shaders.

Previously these shaders always took the path to gs_vgpr_comp_cnt=3,
but now they are 0 when they don't use primitive id.

Fixes: 7ad69e2f
Signed-off-by: Timur Kristóf <timur.kristof@gmail.com>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Part-of: <mesa/mesa!13031>
190 jobs for main
Status Name Job ID Coverage
  Container
created debian/android_build #14007546
manual debian/arm_build #14007550
aarch64 manual
created debian/arm_test #14007555
created debian/i386_build #14007543
created debian/ppc64el_build #14007544
created debian/s390x_build #14007545
created debian/x86_build #14007542
manual debian/x86_build-base #14007541
manual
manual debian/x86_test-base #14007547
manual
created debian/x86_test-gl #14007548
created debian/x86_test-vk #14007549
manual fedora/x86_build #14007551
manual
created kernel+rootfs_amd64 #14007552
created kernel+rootfs_arm64 #14007553
aarch64
created kernel+rootfs_armhf #14007554
aarch64
manual windows_build_vs2019 #14007556
windows shell 1809 mesa manual
 
  Build X86 64
created debian-clang #14007563
created debian-clover #14007564
created debian-clover-testing #14007559
created debian-gallium #14007560
created debian-release #14007561
created debian-testing #14007557
created debian-testing-asan #14007558
created debian-vulkan #14007565
created fedora-release #14007562
 
  Build Misc
created debian-android #14007566
created debian-arm64 #14007568
aarch64
created debian-arm64-asan #14007569
aarch64
created debian-arm64-build-test #14007570
aarch64
created debian-armhf #14007567
aarch64
created debian-i386 #14007572
created debian-mingw32-x86_64 #14007575
created debian-ppc64el #14007574
created debian-s390x #14007573
kvm
created windows-vs2019 #14007571
windows docker 1809 mesa
 
  Amd
created radeonsi-stoney-gles2:amd64 #14007584
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 1/2 #14007587
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles31:amd64 2/2 #14007588
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 1/2 #14007585
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-gles3:amd64 2/2 #14007586
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-piglit-gl:amd64 #14007590
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radeonsi-stoney-traces:amd64 #14007589
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv-fossils #14007583
created radv-navy_flounder-traces #14007577
amdgpu:codename:NAVY_FLOUNDER manual
created radv-navy_flounder-vkd3d-proton #14007576
amdgpu:codename:NAVY_FLOUNDER manual
created radv_polaris10_vkcts #14007579
polaris10 manual
created radv-raven-traces #14007578
amdgpu:codename:RAVEN manual
created radv_stoney_vkcts:amd64 1/3 #14007580
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 2/3 #14007581
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
created radv_stoney_vkcts:amd64 3/3 #14007582
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
 
  Intel
created i915-g33-deqp #14007591
anholt-g33 manual
created i915-g33-piglit #14007592
anholt-g33 manual
created i915-g33-traces #14007593
anholt-g33 manual
created iris-amly-deqp 1/3 #14007601
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-deqp 2/3 #14007602
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-deqp 3/3 #14007603
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-egl #14007610
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 1/3 #14007611
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 2/3 #14007612
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-piglit 3/3 #14007613
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-amly-traces #14007616
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus manual
created iris-apl-deqp 1/3 #14007594
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-deqp 2/3 #14007595
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-deqp 3/3 #14007596
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-egl #14007597
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-apl-traces #14007614
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
created iris-cml-deqp 1/2 #14007608
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-cml-deqp 2/2 #14007609
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-cml-traces #14007619
mesa-ci-x86-64-lava-asus-C436FA-flip-hatch manual
created iris-glk-deqp 1/2 #14007598
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-deqp 2/2 #14007599
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-egl #14007600
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-glk-traces #14007615
mesa-ci-x86-64-lava-hp-x360-12b-ca0010nr-n4020-octopus manual
created iris-kbl-deqp 1/3 #14007604
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-deqp 2/3 #14007605
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-deqp 3/3 #14007606
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-kbl-traces #14007617
mesa-ci-x86-64-lava-hp-x360-14-G1-sona manual
created iris-whl-deqp #14007607
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual
created iris-whl-traces #14007618
mesa-ci-x86-64-lava-dell-latitude-5400-4305U-sarien manual
 
  Arm
created lima-mali450-test:arm64 #14007620
mesa-ci-x86-64-lava-lima
created panfrost-g52-gl:arm64 1/3 #14007628
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gl:arm64 2/3 #14007629
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g52-gl:arm64 3/3 #14007630
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
created panfrost-g72-gl:arm64 1/3 #14007631
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-g72-gl:arm64 2/3 #14007632
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-g72-gl:arm64 3/3 #14007633
mesa-ci-x86-64-lava-mt8183-kukui-jacuzzi-juniper-sku16
created panfrost-t720-gles2:arm64 #14007621
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
created panfrost-t760-gles2:armhf #14007622
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t760-traces:armhf #14007623
mesa-ci-x86-64-lava-rk3288-veyron-jaq
created panfrost-t860-gl:arm64 1/3 #14007624
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gl:arm64 2/3 #14007625
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-gl:arm64 3/3 #14007626
mesa-ci-x86-64-lava-rk3399-gru-kevin
created panfrost-t860-traces:arm64 #14007627
mesa-ci-x86-64-lava-rk3399-gru-kevin
 
  Broadcom
created v3d-rpi4-egl:armhf #14007651
igalia-rpi4
created v3d-rpi4-gles:armhf 1/8 #14007643
igalia-rpi4
created v3d-rpi4-gles:armhf 2/8 #14007644
igalia-rpi4
created v3d-rpi4-gles:armhf 3/8 #14007645
igalia-rpi4
created v3d-rpi4-gles:armhf 4/8 #14007646
igalia-rpi4
created v3d-rpi4-gles:armhf 5/8 #14007647
igalia-rpi4
created v3d-rpi4-gles:armhf 6/8 #14007648
igalia-rpi4
created v3d-rpi4-gles:armhf 7/8 #14007649
igalia-rpi4
created v3d-rpi4-gles:armhf 8/8 #14007650
igalia-rpi4
created v3d-rpi4-piglit:armhf 1/4 #14007652
igalia-rpi4
created v3d-rpi4-piglit:armhf 2/4 #14007653
igalia-rpi4
created v3d-rpi4-piglit:armhf 3/4 #14007654
igalia-rpi4
created v3d-rpi4-piglit:armhf 4/4 #14007655
igalia-rpi4
created v3dv-rpi4-vk:arm64 1/8 #14007656
igalia-rpi4
created v3dv-rpi4-vk:arm64 2/8 #14007657
igalia-rpi4
created v3dv-rpi4-vk:arm64 3/8 #14007658
igalia-rpi4
created v3dv-rpi4-vk:arm64 4/8 #14007659
igalia-rpi4
created v3dv-rpi4-vk:arm64 5/8 #14007660
igalia-rpi4
created v3dv-rpi4-vk:arm64 6/8 #14007661
igalia-rpi4
created v3dv-rpi4-vk:arm64 7/8 #14007662
igalia-rpi4
created v3dv-rpi4-vk:arm64 8/8 #14007663
igalia-rpi4
created vc4-rpi3-egl:armhf #14007636
igalia-rpi3
created vc4-rpi3-gles:armhf 1/2 #14007634
igalia-rpi3
created vc4-rpi3-gles:armhf 2/2 #14007635
igalia-rpi3
created vc4-rpi3-piglit-quick_gl:armhf 1/4 #14007637
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 2/4 #14007638
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 3/4 #14007639
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_gl:armhf 4/4 #14007640
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 1/2 #14007641
igalia-rpi3 manual
created vc4-rpi3-piglit-quick_shader:armhf 2/2 #14007642
igalia-rpi3 manual
 
  Freedreno
created a306_gl 1/5 #14007664
google-freedreno-db410c
created a306_gl 2/5 #14007665
google-freedreno-db410c
created a306_gl 3/5 #14007666
google-freedreno-db410c
created a306_gl 4/5 #14007667
google-freedreno-db410c
created a306_gl 5/5 #14007668
google-freedreno-db410c
created a306-traces #14007669
google-freedreno-db410c
created a530_gl 1/5 #14007670
google-freedreno-db820c
created a530_gl 2/5 #14007671
google-freedreno-db820c
created a530_gl 3/5 #14007672
google-freedreno-db820c
created a530_gl 4/5 #14007673
google-freedreno-db820c
created a530_gl 5/5 #14007674
google-freedreno-db820c
created a530_piglit_gl #14007675
google-freedreno-db820c manual
created a530_piglit_shader 1/2 #14007676
google-freedreno-db820c
created a530_piglit_shader 2/2 #14007677
google-freedreno-db820c
created a530-traces #14007678
google-freedreno-db820c
created a630_egl #14007683
google-freedreno-cheza
created a630_gl 1/4 #14007679
google-freedreno-cheza
created a630_gl 2/4 #14007680
google-freedreno-cheza
created a630_gl 3/4 #14007681
google-freedreno-cheza
created a630_gl 4/4 #14007682
google-freedreno-cheza
created a630_gles_asan #14007684
google-freedreno-cheza manual
created a630_piglit #14007691
google-freedreno-cheza
created a630-traces #14007692
google-freedreno-cheza
created a630-traces-restricted #14007693
google-freedreno-cheza allowed to fail
created a630_vk 1/3 #14007685
google-freedreno-cheza
created a630_vk 2/3 #14007686
google-freedreno-cheza
created a630_vk 3/3 #14007687
google-freedreno-cheza
created a630_vk_asan #14007690
google-freedreno-cheza manual
created a630_vk_full 1/2 #14007688
google-freedreno-cheza manual
created a630_vk_full 2/2 #14007689
google-freedreno-cheza manual
 
  Etnaviv
created gc2000_gles2 #14007694
etnaviv-gc2000 manual
 
  Software Renderer
created lavapipe-nir-stress #14007709
created lavapipe-vk #14007708
created lavapipe-vk-asan #14007710
created llvmpipe-deqp 1/2 #14007700
created llvmpipe-deqp 2/2 #14007701
created llvmpipe-deqp-asan #14007702
created llvmpipe-egl #14007703
created llvmpipe-piglit-cl #14007695
created llvmpipe-piglit-glslparser #14007697
created llvmpipe-piglit-quick_gl #14007696
created llvmpipe-piglit-quick_shader #14007698
created llvmpipe-traces #14007699
created softpipe-asan-gles31 #14007706
created softpipe-deqp 1/2 #14007704
created softpipe-deqp 2/2 #14007705
created softpipe-piglit-quick #14007707
 
  Layered Backends
created test-d3d12-windows #14007729
windows docker 1809 mesa
created virgl-on-gl 1/6 #14007711
kvm
created virgl-on-gl 2/6 #14007712
kvm
created virgl-on-gl 3/6 #14007713
kvm
created virgl-on-gl 4/6 #14007714
kvm
created virgl-on-gl 5/6 #14007715
kvm
created virgl-on-gl 6/6 #14007716
kvm
created virgl-on-gles 1/6 #14007717
kvm manual
created virgl-on-gles 2/6 #14007718
kvm manual
created virgl-on-gles 3/6 #14007719
kvm manual
created virgl-on-gles 4/6 #14007720
kvm manual
created virgl-on-gles 5/6 #14007721
kvm manual
created virgl-on-gles 6/6 #14007722
kvm manual
created virgl-traces #14007723
kvm
created zink-lvp-deqp 1/2 #14007727
created zink-lvp-deqp 2/2 #14007728
created zink-piglit-lazy #14007726
created zink-piglit-no_timelines #14007725
created zink-piglit-timelines #14007724
 
  Deploy
manual test-docs #14007730
manual