ir3: Preserve gl_ViewportIndex in the binning shader

Fixes dEQP-VK.draw.shader_viewport_index.* with TU_DEBUG=forcebin.

Fixes: efff7342 ("turnip: multiViewport and VK_EXT_shader_viewport_index_layer")
Part-of: <!12104>
59 jobs for !12104 with tu-viewport-index-binning in 15 minutes and 21 seconds (queued for 9 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed sanity #12265613

00:00:14

 
  Container
passed debian/arm_build #12265616
aarch64

00:00:18

passed debian/x86_build-base #12265614

00:00:11

passed debian/x86_test-base #12265615

00:00:12

passed fedora/x86_build #12265617

00:00:12

passed windows_build_vs2019 #12265618
windows shell 1809 mesa

00:00:10

 
  Container 2
passed debian/android_build #12265623

00:00:17

passed debian/i386_build #12265620

00:00:17

passed debian/ppc64el_build #12265621

00:00:14

passed debian/s390x_build #12265622

00:00:14

passed debian/x86_build #12265619

00:00:14

passed debian/x86_test-gl #12265624

00:00:14

passed debian/x86_test-vk #12265625

00:00:12

passed kernel+rootfs_amd64 #12265626

00:00:23

passed kernel+rootfs_arm64 #12265627
aarch64

00:01:06

passed kernel+rootfs_armhf #12265628
aarch64

00:00:11

 
  Build X86 64
passed debian-clang #12265635

00:08:26

passed debian-clover #12265636

00:01:39

passed debian-clover-testing #12265631

00:01:40

passed debian-gallium #12265632

00:05:16

passed debian-release #12265633

00:06:21

passed debian-testing #12265629

00:01:59

passed debian-testing-asan #12265630

00:02:37

passed debian-vulkan #12265637

00:01:57

passed fedora-release #12265634

00:01:26

 
  Build Misc
passed debian-android #12265639

00:00:45

passed debian-arm64 #12265641
aarch64

00:01:21

passed debian-arm64-asan #12265642
aarch64

00:02:49

passed debian-arm64-build-test #12265643
aarch64

00:01:25

passed debian-armhf #12265640
aarch64

00:01:45

passed debian/arm_test #12265638

00:00:16

passed debian-i386 #12265644

00:01:26

passed debian-mingw32-x86_64 #12265645

00:02:24

 
  Freedreno
passed a306_gles2 #12265646
google-freedreno-db410c

00:04:39

passed a306_gles3 1/3 #12265647
google-freedreno-db410c

00:08:42

passed a306_gles3 2/3 #12265648
google-freedreno-db410c

00:08:37

passed a306_gles3 3/3 #12265649
google-freedreno-db410c

00:08:47

passed a306_gles3_options #12265650
google-freedreno-db410c

00:03:40

passed a306-traces #12265651
google-freedreno-db410c

00:02:36

passed a530_gles2 #12265652
google-freedreno-db820c

00:05:47

passed a530_gles31 1/2 #12265655
google-freedreno-db820c

00:05:03

passed a530_gles3 1/2 #12265653
google-freedreno-db820c

00:08:21

passed a530_gles31 2/2 #12265656
google-freedreno-db820c

00:05:54

passed a530_gles3 2/2 #12265654
google-freedreno-db820c

00:07:06

passed a530_piglit_shader 1/2 #12265657
google-freedreno-db820c

00:07:58

passed a530_piglit_shader 2/2 #12265658
google-freedreno-db820c

00:08:25

passed a530-traces #12265659
google-freedreno-db820c

00:07:30

passed a630_egl #12265664
google-freedreno-cheza

00:02:18

passed a630_gl #12265663
google-freedreno-cheza

00:01:36

passed a630_gles2 #12265660
google-freedreno-cheza

00:01:36

passed a630_gles3 #12265662
google-freedreno-cheza

00:04:37

passed a630_gles31 #12265661
google-freedreno-cheza

00:09:23

passed a630_gles_others #12265665
google-freedreno-cheza

00:05:21

passed a630_piglit #12265669
google-freedreno-cheza

00:08:32

passed a630-traces #12265670
google-freedreno-cheza

00:04:33

passed a630-traces-restricted #12265671
google-freedreno-cheza

00:03:46

passed a630_vk 1/2 #12265666
google-freedreno-cheza

00:09:22

passed a630_vk 2/2 #12265667
google-freedreno-cheza

00:09:09

passed a630_vk_sysmem #12265668
google-freedreno-cheza

00:02:14