gallium/u_threaded: fix 32-bit breakage due to incorrect pointer arithmetic

Fixes: 1233c90a - gallium/u_threaded: rewrite slot layout to reduce wasted space
Closes: #4755
Closes: #4758
Acked-By: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Part-of: <!10746>
128 jobs for !10746 with tc-fix-32bit in 19 minutes and 56 seconds (queued for 9 seconds)
latest detached
Status Name Job ID Coverage
  Sanity
passed sanity #9692863

00:00:13

 
  Container
passed arm_build #9692868
aarch64

00:00:18

passed windows_build_vs2019 #9692870
windows shell 1809 mesa

00:00:09

passed x86_build-base #9692865

00:00:12

passed x86_test-base #9692867

00:00:12

 
  Container 2
passed android_build #9692880

00:00:15

passed i386_build #9692875

00:00:15

passed kernel+rootfs_amd64 #9692885

00:00:21

passed kernel+rootfs_arm64 #9692886
aarch64

00:00:11

passed kernel+rootfs_armhf #9692888
aarch64

00:00:10

passed ppc64el_build #9692877

00:00:12

passed s390x_build #9692878

00:00:12

passed x86_build #9692873

00:00:16

passed x86_test-gl #9692882

00:00:12

passed x86_test-vk #9692883

00:00:11

 
  Meson X86 64
passed meson-clang #9692898

00:10:13

passed meson-clover #9692900

00:01:51

passed meson-clover-testing #9692893

00:01:29

passed meson-gallium #9692895

00:05:47

passed meson-release #9692896

00:03:31

passed meson-testing #9692890

00:01:40

passed meson-testing-asan #9692892

00:07:41

passed meson-vulkan #9692901

00:01:35

 
  Build Misc
passed arm_test #9692903

00:00:26

passed meson-android #9692905

00:01:28

passed meson-arm64 #9692909
aarch64

00:02:39

passed meson-arm64-asan #9692911
aarch64

00:04:55

passed meson-arm64-build-test #9692913
aarch64

00:02:26

passed meson-armhf #9692907
aarch64

00:01:30

passed meson-i386 #9692917

00:03:02

passed meson-mingw32-x86_64 #9692922

00:02:14

passed meson-ppc64el #9692921

00:03:19

passed meson-s390x #9692918
kvm

00:04:37

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

00:05:13

 
  Amd
passed radeonsi-stoney-gles2:amd64 #9692924
mesa-ci-aarch64-lava-collabora

00:05:45

passed radeonsi-stoney-gles31:amd64 1/2 #9692930
mesa-ci-aarch64-lava-collabora

00:10:26

passed radeonsi-stoney-gles31:amd64 2/2 #9692932
mesa-ci-aarch64-lava-collabora

00:09:40

passed radeonsi-stoney-gles3:amd64 1/2 #9692926
mesa-ci-aarch64-lava-collabora

00:07:55

passed radeonsi-stoney-gles3:amd64 2/2 #9692928
mesa-ci-aarch64-lava-collabora

00:06:57

passed radeonsi-stoney-piglit-gl:amd64 #9692936
mesa-ci-aarch64-lava-collabora

00:07:24

passed radeonsi-stoney-traces:amd64 #9692934
mesa-ci-aarch64-lava-collabora

00:09:42

 
  Intel
passed iris-amly-traces:amd64 #9692944
mesa-ci-aarch64-lava-collabora

00:08:33

passed iris-apl-traces:amd64 #9692939
mesa-ci-aarch64-lava-collabora

00:12:32

passed iris-glk-traces:amd64 #9692941
mesa-ci-aarch64-lava-collabora

00:10:52

 
  Arm
passed panfrost-g52-gles2:arm64 #9692962
mesa-ci-aarch64-lava-collabora

00:06:10

passed panfrost-g52-gles31:arm64 #9692969
mesa-ci-aarch64-lava-collabora

00:10:54

passed panfrost-g52-gles3:arm64 1/2 #9692965
mesa-ci-aarch64-lava-collabora

00:07:48

passed panfrost-g52-gles3:arm64 2/2 #9692967
mesa-ci-aarch64-lava-collabora

00:08:08

passed panfrost-t720-gles2:arm64 #9692946
mesa-ci-aarch64-lava-collabora

00:08:34

passed panfrost-t760-gles2:armhf #9692948
mesa-ci-aarch64-lava-collabora

00:05:30

passed panfrost-t760-traces:armhf #9692950
mesa-ci-aarch64-lava-collabora

00:03:52

passed panfrost-t860-gles2:arm64 #9692952
mesa-ci-aarch64-lava-collabora

00:04:40

passed panfrost-t860-gles31:arm64 #9692958
mesa-ci-aarch64-lava-collabora

00:08:49

passed panfrost-t860-gles3:arm64 1/2 #9692954
mesa-ci-aarch64-lava-collabora

00:07:10

passed panfrost-t860-gles3:arm64 2/2 #9692956
mesa-ci-aarch64-lava-collabora

00:09:17

passed panfrost-t860-traces:arm64 #9692960
mesa-ci-aarch64-lava-collabora

00:10:41

 
  Broadcom
passed v3d-rpi4-gles2:armhf #9692991
igalia-rpi4

00:07:02

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

00:09:36

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

00:09:56

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

00:09:22

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

00:09:49

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

00:08:01

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

00:08:40

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

00:04:08

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

00:03:51

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

00:04:06

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

00:04:02

 
  Freedreno
passed a306_gles2 #9692993
google-freedreno-db410c

00:04:53

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

00:09:08

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

00:08:56

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

00:09:03

passed a306_gles3_options #9693001
google-freedreno-db410c

00:03:46

passed a306-traces #9693003
google-freedreno-db410c

00:07:40

passed a530_gles2 #9693005
google-freedreno-db820c

00:06:28

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

00:05:44

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

00:08:04

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

00:06:18

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

00:07:30

passed a530_piglit_gl #9693014
google-freedreno-db820c

00:09:24

passed a530_piglit_shader #9693015
google-freedreno-db820c

00:08:52

passed a530-traces #9693018
google-freedreno-db820c

00:10:52

passed a630_egl #9693030
google-freedreno-cheza

00:02:22

passed a630_gl #9693029
google-freedreno-cheza

00:01:26

passed a630_gles2 #9693025
google-freedreno-cheza

00:01:32

passed a630_gles3 #9693027
google-freedreno-cheza

00:04:46

passed a630_gles31 #9693026
google-freedreno-cheza

00:03:59

passed a630_gles_others #9693031
google-freedreno-cheza

00:02:44

passed a630_piglit #9693041
google-freedreno-cheza

00:09:33

passed a630-traces #9693044
google-freedreno-cheza

00:06:46

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

00:10:32

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

00:10:35

passed a630_vk_sysmem #9693039
google-freedreno-cheza

00:02:06

 
  Software Renderer
passed lavapipe-nir-stress #9693088

00:00:53

passed lavapipe-vk #9693086

00:03:10

passed llvmpipe-egl #9693064

00:01:07

passed llvmpipe-gl #9693061

00:01:51

passed llvmpipe-gles2 #9693055

00:02:32

passed llvmpipe-gles3 #9693057

00:04:43

passed llvmpipe-gles31 #9693059

00:10:15

passed llvmpipe-khr-gles2 #9693062

00:00:28

passed llvmpipe-piglit-cl #9693046

00:03:05

passed llvmpipe-piglit-glslparser #9693050

00:04:37

passed llvmpipe-piglit-quick_gl #9693048

00:07:45

passed llvmpipe-piglit-quick_shader #9693052

00:07:21

passed llvmpipe-traces #9693054

00:02:02

passed softpipe-asan-gles31 #9693080

00:02:10

passed softpipe-gl #9693084

00:00:40

passed softpipe-gles2 #9693066

00:01:36

passed softpipe-gles3 #9693068

00:06:10

passed softpipe-gles31 1/2 #9693070

00:06:30

passed softpipe-gles31 2/2 #9693072

00:03:11

passed softpipe-khr-gles2 #9693074

00:00:41

passed softpipe-khr-gles3 #9693076

00:00:56

passed softpipe-khr-gles31 #9693078

00:00:35

passed softpipe-piglit-quick #9693082

00:09:45

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

00:03:11

passed virgl-gl30-on-gl #9693096

00:00:38

passed virgl-gl31-on-gl #9693097

00:01:04

passed virgl-gl32-on-gl #9693098

00:01:32

passed virgl-gles2-on-gl #9693090

00:01:49

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

00:02:48

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

00:05:50

passed virgl-gles3-on-gl #9693092

00:02:23

passed virgl-traces #9693099

00:00:40

passed zink-lvp-gl #9693103

00:01:41

passed zink-lvp-gles2 #9693101

00:03:14

passed zink-lvp-gles3 #9693102

00:01:21

passed zink-piglit-quick_gl #9693100

00:03:19