spirv: use a pointer sized int type for opencl event_t
authorDave Airlie <airlied@redhat.com>
Mon, 11 Sep 2023 06:53:55 +0000 (16:53 +1000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 13 Sep 2023 00:22:51 +0000 (00:22 +0000)
commitf423d91790a2341c14909a63e7083ac9b51076db
treedc3fd738e9273d2b49f32aca567da5d583c5a53e
parent4e85c325ffe88e6c8500cc54a5359324102d32c4
spirv: use a pointer sized int type for opencl event_t

llvm16 + opaque pointers uses a ptr to event for the opaque type,
llvm 17 fixes this properly, but the fix doesn't look too backportable.

Cc: mesa-stable
Reviewed-by: Karol Herbst <kherbst@redhat.com>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25165>
src/compiler/spirv/spirv_to_nir.c