turnip: implement intrinsic_vulkan_resource_reindex

Descriptor arrays are continuous, so it's just an addition of offset.

Fixes test:
 dEQP-VK.spirv_assembly.instruction.compute.variable_pointers.dynamic_offset.select_descriptor_array

Signed-off-by: Danylo Piliaiev <dpiliaiev@igalia.com>
Part-of: <!9495>
55 jobs for !9495 with turnip/intrinsic_vulkan_resource_reindex in 19 minutes and 24 seconds (queued for 2 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed sanity #8017603

00:00:09

 
  Container
passed arm_build #8017609
aarch64

00:00:18

passed arm_test-base #8017612

00:00:16

passed windows_build_vs2019 #8017613
windows shell 1809 mesa

00:00:08

passed x86_build-base #8017605

00:00:14

passed x86_test-base #8017607

00:00:14

 
  Container 2
passed android_build #8017629

00:00:16

passed arm64_test #8017635

00:00:14

passed armhf_test #8017637

00:00:14

passed i386_build #8017623

00:00:17

passed kernel+rootfs_amd64 #8017615

00:00:19

passed kernel+rootfs_arm64 #8017617
aarch64

00:00:59

passed kernel+rootfs_armhf #8017619
aarch64

00:00:12

passed ppc64el_build #8017625

00:00:17

passed s390x_build #8017627

00:00:14

passed x86_build #8017621

00:00:17

passed x86_test-gl #8017631

00:00:14

passed x86_test-vk #8017633

00:00:17

 
  Meson X86 64
passed meson-clang #8017647

00:02:24

passed meson-clover #8017648

00:03:24

passed meson-clover-testing #8017643

00:02:25

passed meson-gallium #8017645
gstreamer

00:02:00

passed meson-release #8017646

00:02:25

passed meson-testing #8017640

00:02:29

passed meson-testing-asan #8017642

00:06:51

passed meson-vulkan #8017649

00:01:27

 
  Build Misc
passed meson-android #8017651

00:02:24

passed meson-arm64 #8017654
aarch64

00:01:37

passed meson-arm64-asan #8017655
aarch64

00:03:00

passed meson-arm64-build-test #8017656
aarch64

00:01:28

passed meson-armhf #8017652
aarch64

00:01:32

passed meson-i386 #8017657

00:01:10

passed meson-mingw32-x86_64 #8017660

00:01:35

passed meson-ppc64el #8017659
kvm

00:02:23

passed meson-s390x #8017658
kvm

00:02:13

 
  Freedreno
passed a306_gles2 #8017661
google-freedreno-db410c

00:04:39

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

00:08:43

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

00:08:42

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

00:08:52

passed a306_gles3_options #8017665
google-freedreno-db410c

00:02:36

passed a530_gles2 #8017666
google-freedreno-db820c

00:07:09

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

00:07:05

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

00:09:47

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

00:08:01

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

00:07:51

passed a630_gl #8017674
google-freedreno-cheza

00:01:21

passed a630_gles2 #8017671
google-freedreno-cheza

00:01:27

passed a630_gles3 #8017673
google-freedreno-cheza

00:04:42

passed a630_gles31 #8017672
google-freedreno-cheza

00:03:53

passed a630_gles_asan #8017676
google-freedreno-cheza

00:03:48

passed a630_gles_others #8017675
google-freedreno-cheza

00:03:47

passed a630-traces #8017680
google-freedreno-cheza

00:06:50

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

00:08:10

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

00:07:45

passed a630_vk_sysmem #8017679
google-freedreno-cheza

00:02:10