gallium: make handles of set_global_binding 64 bit

For OpenCL, as well as to support hardware that require 64-bit pointers.
While we're changing the API, remove a layer of indirection.

(Commit by Karol, rebased and commit messaged by Alyssa.)

Signed-off-by: Karol Herbst <kherbst@redhat.com>
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Acked-by: Marek Olšák <maraeo@gmail.com>
Acked-by: Jason Ekstrand <jason@jlekstrand.net> [Informal on #dri-devel]
91 jobs for !6064 with gallium_64bit_ptrs in 12 seconds (queued for 9 seconds)
latest detached
Status Job ID Name Coverage
  Sanity
passed #6625209
sanity

00:00:12

 
  Container
manual #6625213
aarch64 manual
arm_build
manual #6625216
manual
arm_test-base
manual #6625217
windows shell 1809 mesa manual
windows_build_vs2019
manual #6625211
manual
x86_build-base
manual #6625212
manual
x86_test-base
 
  Container 2
created #6625233
android_build
created #6625237
arm64_test
created #6625239
armhf_test
created #6625228
i386_build
created #6625220
kernel+rootfs_amd64
created #6625222
aarch64
kernel+rootfs_arm64
created #6625224
aarch64
kernel+rootfs_armhf
created #6625229
ppc64el_build
created #6625231
s390x_build
created #6625226
x86_build
created #6625234
x86_test-gl
created #6625236
x86_test-vk
 
  Meson X86 64
created #6625250
meson-clang
created #6625252
meson-clover
created #6625245
meson-clover-testing
created #6625246
meson-gallium
created #6625248
meson-release
created #6625241
meson-testing
created #6625243
meson-testing-asan
created #6625253
meson-vulkan
 
  Build Misc
created #6625255
meson-android
created #6625259
aarch64
meson-arm64
created #6625261
aarch64
meson-arm64-build-test
created #6625257
aarch64
meson-armhf
created #6625267
meson-i386
created #6625273
meson-mingw32-x86_64
created #6625271
kvm
meson-ppc64el
created #6625269
kvm
meson-s390x
created #6625263
windows docker 1809 mesa
meson-windows-vs2019
created #6625265
allowed to fail
scons-win64
 
  Amd
created #6625274
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64
created #6625279
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64
created #6625276
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64
created #6625281
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64
 
  Arm
created #6625294
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64
created #6625295
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles3:arm64
created #6625283
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64
created #6625285
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64
created #6625287
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2
created #6625289
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2
created #6625291
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64
 
  Freedreno
created #6625320
google-freedreno-db410c
arm64_a306_gles2
created #6625322
google-freedreno-db410c
arm64_a306_gles3
created #6625325
google-freedreno-db410c
arm64_a306_gles3_options
created #6625327
google-freedreno-db820c
arm64_a530_gles2 1/2
created #6625329
google-freedreno-db820c
arm64_a530_gles2 2/2
created #6625331
google-freedreno-db820c
arm64_a530_gles3
created #6625333
google-freedreno-db820c
arm64_a530_gles31
created #6625335
google-freedreno-db820c
arm64_a530_piglit_shader
created #6625305
google-freedreno-cheza
arm64_a630_gl
created #6625299
google-freedreno-cheza
arm64_a630_gles2
created #6625303
google-freedreno-cheza
arm64_a630_gles3
created #6625301
google-freedreno-cheza
arm64_a630_gles31
created #6625307
google-freedreno-cheza
arm64_a630_gles_others
created #6625317
google-freedreno-cheza
arm64_a630_piglit_shader
created #6625297
google-freedreno-cheza
arm64-a630-traces
created #6625310
google-freedreno-cheza
arm64_a630_vk 1/2
created #6625312
google-freedreno-cheza
arm64_a630_vk 2/2
created #6625315
google-freedreno-cheza
arm64_a630_vk_sysmem
 
  Raspberrypi
created #6625338
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4
created #6625340
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4
created #6625342
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4
created #6625345
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4
 
  Software Renderer
created #6625362
lavapipe-vk
created #6625355
llvmpipe-gles2
created #6625347
llvmpipe-piglit-cl
created #6625351
llvmpipe-piglit-glslparser
created #6625349
llvmpipe-piglit-quick_gl
created #6625353
llvmpipe-piglit-quick_shader
created #6625354
llvmpipe-traces
created #6625361
softpipe-gl
created #6625356
softpipe-gles2
created #6625357
softpipe-gles3
created #6625358
softpipe-gles31 1/2
created #6625359
softpipe-gles31 2/2
created #6625360
softpipe-piglit-quick
 
  Layered Backends
created #6625363
windows docker 1809 mesa
test-d3d12-windows
created #6625369
virgl-gl30-on-gl
created #6625370
virgl-gl31-on-gl
created #6625371
virgl-gl32-on-gl
created #6625365
virgl-gles2-on-gl
created #6625367
virgl-gles31-on-gl 1/2
created #6625368
virgl-gles31-on-gl 2/2
created #6625366
virgl-gles3-on-gl
created #6625364
virgl-traces