llvmpipe/cs/orcjit: add stub function name for coro

This fixes some debug
JIT session error: Unexpected definitions in module : [ cs_co_variant ]
Failed to materialize symbols: { (cs0_variant0_3, { cs_variant }) }

Fixes: bb0efdd4d8 ("llvmpipe: add shader cache support for ORCJIT implementation")
Reviewed-by: Icenowy Zheng <uwu@icenowy.me>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30335>
This commit is contained in:
Dave Airlie
2024-07-24 11:06:00 +10:00
committed by Marge Bot
parent fcf9e33ec0
commit 76ae27efb3

View File

@@ -411,6 +411,7 @@ generate_compute(struct llvmpipe_context *lp,
if (variant->gallivm->cache->data_size) {
gallivm_stub_func(gallivm, function);
gallivm_stub_func(gallivm, coro);
return;
}