gallivm: LLVM-15 opaque pointers: disable LLVMGetElementType(ptr_type)
authorMihai Preda <mhpreda@gmail.com>
Fri, 19 Aug 2022 08:56:35 +0000 (11:56 +0300)
committerMarge Bot <emma+marge@anholt.net>
Sat, 3 Sep 2022 03:31:34 +0000 (03:31 +0000)
commitadf28955162007af80989b65df641b3c7ae6f78c
tree93e6b1f92407f29fa2a32448789dd48c87a45ef3
parent08615f2807ee1224c2d36700891524c2a05fa376
gallivm: LLVM-15 opaque pointers: disable LLVMGetElementType(ptr_type)

with opaque pointers, we can't query the element type of a pointer type

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Acked-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18334>
src/gallium/auxiliary/gallivm/lp_bld_ir_common.c
src/gallium/auxiliary/gallivm/lp_bld_struct.c
src/gallium/auxiliary/gallivm/lp_bld_swizzle.c