radeonsi: consolidate determining VGPR_COMP_CNT for API VS

Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
22 jobs for !1726 with navi14 in 68 minutes and 53 seconds (queued for 17 seconds)
latest detached
Status Name Job ID Coverage
  Containers Build
passed debian #541737

00:00:23

 
  Build+Test
passed meson-arm64 #541746

00:02:09

passed meson-armhf #541745

00:03:38

passed meson-clang #541739

00:08:41

passed meson-clover #541743

00:10:59

passed meson-i386 #541747

00:02:40

passed meson-main #541742

00:11:51

passed meson-swr-glvnd #541738

00:06:39

passed meson-vulkan #541744

00:03:20

passed scons-llvm #541749

00:04:20

passed scons-nollvm #541748

00:03:51

passed scons-swr #541740

00:06:38

passed scons-win64 #541741

00:07:21

 
  Test
passed test-llvmpipe-gles2 1/4 #541750

00:03:56

passed test-llvmpipe-gles2 2/4 #541751

00:03:09

passed test-llvmpipe-gles2 3/4 #541752

00:03:44

passed test-llvmpipe-gles2 4/4 #541753

00:03:50

passed test-softpipe-gles2 1/4 #541754

00:01:31

passed test-softpipe-gles2 2/4 #541755

00:01:39

passed test-softpipe-gles2 3/4 #541756

00:01:32

passed test-softpipe-gles2 4/4 #541757

00:01:49

passed test-softpipe-gles3-limited #541758

00:04:18