gallivm: handle llvm coroutines for llvm > 15
authorDave Airlie <airlied@redhat.com>
Mon, 26 Sep 2022 01:37:05 +0000 (11:37 +1000)
committerMarge Bot <emma+marge@anholt.net>
Mon, 26 Sep 2022 01:50:49 +0000 (01:50 +0000)
commitbcb136d548e607dbc9b72df0f575710ee03947ec
tree80a2614de01ebd74c612ff767a52c8e102ca94ae
parent16fd0c11c66b8b48c3835202fab77a0c50828c0b
gallivm: handle llvm coroutines for llvm > 15

LLVM 15 changed the coroutine presplit function attribute in

735e6c40b5e9 [Coroutines] Convert coroutine.presplit to enum attr

This needed to be updated in mesa.

Cc: mesa-stable
Acked-by: Mike Blumenkrantz <michael.blumenkrantz@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/18815>
src/gallium/auxiliary/draw/draw_llvm.c
src/gallium/auxiliary/gallivm/lp_bld_coro.h
src/gallium/auxiliary/gallivm/lp_bld_intr.c
src/gallium/auxiliary/gallivm/lp_bld_intr.h
src/gallium/drivers/llvmpipe/lp_state_cs.c