util/prim_restart: use more direct conversion for restart index

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <!11363>
144 jobs for !11363 with restart_index in 18 minutes and 41 seconds (queued for 11 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #10856668
sanity

00:00:08

 
  Container
passed #10856673
aarch64
arm_build

00:00:23

passed #10856675
windows shell 1809 mesa
windows_build_vs2019

00:00:10

passed #10856670
x86_build-base

00:00:24

passed #10856672
x86_test-base

00:00:25

 
  Container 2
passed #10856685
android_build

00:00:24

passed #10856680
i386_build

00:00:23

passed #10856690
kernel+rootfs_amd64

00:00:23

passed #10856692
aarch64
kernel+rootfs_arm64

00:00:11

passed #10856694
aarch64
kernel+rootfs_armhf

00:00:13

passed #10856682
ppc64el_build

00:00:24

passed #10856683
s390x_build

00:00:22

passed #10856678
x86_build

00:00:23

passed #10856687
x86_test-gl

00:00:24

passed #10856688
x86_test-vk

00:00:22

 
  Meson X86 64
passed #10856704
meson-clang

00:09:40

passed #10856706
meson-clover

00:01:54

passed #10856699
meson-clover-testing

00:01:27

passed #10856701
meson-gallium

00:06:03

passed #10856702
meson-release

00:04:03

passed #10856696
meson-testing

00:02:18

passed #10856698
meson-testing-asan

00:04:00

passed #10856708
meson-vulkan

00:01:35

 
  Build Misc
passed #10856710
arm_test

00:00:32

passed #10856711
meson-android

00:00:48

passed #10856715
aarch64
meson-arm64

00:02:17

passed #10856717
aarch64
meson-arm64-asan

00:03:41

passed #10856719
aarch64
meson-arm64-build-test

00:01:30

passed #10856713
aarch64
meson-armhf

00:01:34

passed #10856723
meson-i386

00:01:46

passed #10856729
meson-mingw32-x86_64

00:01:51

passed #10856727
meson-ppc64el

00:02:05

passed #10856725
kvm
meson-s390x

00:03:05

passed #10856721
windows docker 1809 mesa
meson-windows-vs2019

00:04:47

 
  Amd
passed #10856731
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles2:amd64

00:06:31

passed #10856737
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles31:amd64 1/2

00:11:23

passed #10856739
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles31:amd64 2/2

00:10:32

passed #10856733
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles3:amd64 1/2

00:07:47

passed #10856735
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-gles3:amd64 2/2

00:07:13

passed #10856742
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-piglit-gl:amd64

00:08:06

passed #10856741
mesa-ci-x86-64-lava-hp-11A-G6-EE-grunt
radeonsi-stoney-traces:amd64

00:06:11

 
  Intel
passed #10856758
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-egl

00:05:21

passed #10856756
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gl

00:08:04

passed #10856754
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-gles2

00:05:18

passed #10856761
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-piglit 1/3

00:14:37

passed #10856764
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-piglit 2/3

00:12:34

passed #10856766
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-piglit 3/3

00:15:12

passed #10856771
mesa-ci-x86-64-lava-asus-C433TA-AJ0005-rammus
iris-amly-traces

00:07:29

passed #10856751
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-egl

00:07:40

passed #10856745
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles2

00:04:03

passed #10856747
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles3

00:06:00

passed #10856749
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-gles31

00:06:21

passed #10856769
mesa-ci-x86-64-lava-asus-C523NA-A20057-coral
iris-apl-traces

00:07:22

 
  Arm
passed #10856797
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles31:arm64

00:11:32

passed #10856792
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 1/2

00:09:21

passed #10856794
mesa-ci-x86-64-lava-meson-g12b-a311d-khadas-vim3
panfrost-g52-gles3:arm64 2/2

00:08:15

passed #10856774
mesa-ci-x86-64-lava-sun50i-h6-pine-h64
panfrost-t720-gles2:arm64

00:09:05

passed #10856776
mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-gles2:armhf

00:06:30

passed #10856779
mesa-ci-x86-64-lava-rk3288-veyron-jaq
panfrost-t760-traces:armhf

00:07:22

passed #10856786
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles31:arm64

00:06:25

passed #10856781
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 1/2

00:06:45

passed #10856784
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-gles3:arm64 2/2

00:07:09

passed #10856789
mesa-ci-x86-64-lava-rk3399-gru-kevin
panfrost-t860-traces:arm64

00:04:07

 
  Broadcom
passed #10856824
igalia-rpi4
v3d-rpi4-egl:armhf

00:06:45

passed #10856820
igalia-rpi4
v3d-rpi4-gles2:armhf

00:07:13

passed #10856814
igalia-rpi4
v3d-rpi4-gles31:armhf 1/2

00:09:42

passed #10856815
igalia-rpi4
v3d-rpi4-gles31:armhf 2/2

00:10:04

passed #10856816
igalia-rpi4
v3d-rpi4-gles3:armhf 1/4

00:09:26

passed #10856817
igalia-rpi4
v3d-rpi4-gles3:armhf 2/4

00:09:50

passed #10856818
igalia-rpi4
v3d-rpi4-gles3:armhf 3/4

00:08:05

passed #10856819
igalia-rpi4
v3d-rpi4-gles3:armhf 4/4

00:08:53

passed #10856823
igalia-rpi4
v3d-rpi4-khr-gles2:armhf

00:02:06

passed #10856821
igalia-rpi4
v3d-rpi4-khr-gles31:armhf

00:03:01

passed #10856822
igalia-rpi4
v3d-rpi4-khr-gles3:armhf

00:03:57

passed #10856825
igalia-rpi4
v3d-rpi4-piglit:armhf 1/3

00:11:03

passed #10856826
igalia-rpi4
v3d-rpi4-piglit:armhf 2/3

00:10:45

passed #10856827
igalia-rpi4
v3d-rpi4-piglit:armhf 3/3

00:10:50

passed #10856811
igalia-rpi3
vc4-rpi3-egl:armhf

00:06:47

passed #10856799
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:22

passed #10856802
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:04:05

passed #10856804
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:17

passed #10856806
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:17

passed #10856808
igalia-rpi3
vc4-rpi3-khr-gles2:armhf

00:02:04

 
  Freedreno
passed #10856828
google-freedreno-db410c
a306_gles2

00:04:53

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

00:09:18

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

00:08:57

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

00:09:03

passed #10856832
google-freedreno-db410c
a306_gles3_options

00:03:54

passed #10856833
google-freedreno-db410c
a306-traces

00:02:59

passed #10856834
google-freedreno-db820c
a530_gles2

00:05:48

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

00:06:06

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

00:08:01

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

00:06:10

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

00:07:35

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

00:08:28

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

00:08:24

passed #10856841
google-freedreno-db820c
a530-traces

00:08:17

passed #10856846
google-freedreno-cheza
a630_egl

00:03:13

passed #10856845
google-freedreno-cheza
a630_gl

00:01:37

passed #10856842
google-freedreno-cheza
a630_gles2

00:01:39

passed #10856844
google-freedreno-cheza
a630_gles3

00:04:49

passed #10856843
google-freedreno-cheza
a630_gles31

00:04:07

passed #10856847
google-freedreno-cheza
a630_gles_others

00:02:56

passed #10856851
google-freedreno-cheza
a630_piglit

00:08:54

passed #10856852
google-freedreno-cheza
a630-traces

00:04:15

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

00:10:02

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

00:09:51

passed #10856850
google-freedreno-cheza
a630_vk_sysmem

00:02:17

 
  Software Renderer
passed #10856875
lavapipe-nir-stress

00:00:51

passed #10856874
lavapipe-vk

00:03:03

passed #10856863
llvmpipe-egl

00:01:23

passed #10856861
llvmpipe-gl

00:02:56

passed #10856858
llvmpipe-gles2

00:02:08

passed #10856859
llvmpipe-gles3

00:05:22

passed #10856860
llvmpipe-gles31

00:09:38

passed #10856862
llvmpipe-khr-gles2

00:00:29

passed #10856853
llvmpipe-piglit-cl

00:02:39

passed #10856855
llvmpipe-piglit-glslparser

00:04:27

passed #10856854
llvmpipe-piglit-quick_gl

00:06:32

passed #10856856
llvmpipe-piglit-quick_shader

00:06:08

passed #10856857
llvmpipe-traces

00:02:10

passed #10856871
softpipe-asan-gles31

00:03:15

passed #10856873
softpipe-gl

00:00:45

passed #10856864
softpipe-gles2

00:01:35

passed #10856865
softpipe-gles3

00:06:23

passed #10856866
softpipe-gles31 1/2

00:06:23

passed #10856867
softpipe-gles31 2/2

00:07:44

passed #10856868
softpipe-khr-gles2

00:00:37

passed #10856869
softpipe-khr-gles3

00:00:41

passed #10856870
softpipe-khr-gles31

00:00:37

passed #10856872
softpipe-piglit-quick

00:04:42

 
  Layered Backends
passed #10856888
windows docker 1809 mesa
test-d3d12-windows

00:03:15

passed #10856880
virgl-gl30-on-gl

00:00:38

passed #10856881
virgl-gl31-on-gl

00:00:59

passed #10856882
virgl-gl32-on-gl

00:01:17

passed #10856876
virgl-gles2-on-gl

00:01:01

passed #10856878
virgl-gles31-on-gl 1/2

00:02:39

passed #10856879
virgl-gles31-on-gl 2/2

00:03:18

passed #10856877
virgl-gles3-on-gl

00:02:17

passed #10856883
kvm
virgl-traces

00:06:10

passed #10856887
zink-lvp-gl

00:01:50

passed #10856885
zink-lvp-gles2

00:03:08

passed #10856886
zink-lvp-gles3

00:03:01

passed #10856884
zink-piglit-quick_gl

00:07:25