mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 09:38:07 +02:00
draw/orcjit: supply stub function for tcs coro
This fixes a crash with shader cache enabled:
JIT session error: Unexpected definitions in module : [ draw_llvm_tcs_coro_variant ]
Failed to materialize symbols: { (draw_llvm_tcs_variant0_7, { draw_llvm_tcs_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>
(cherry picked from commit fcf9e33ec0)
This commit is contained in:
parent
20b3400701
commit
e119dce9fd
2 changed files with 2 additions and 1 deletions
|
|
@ -34,7 +34,7 @@
|
|||
"description": "draw/orcjit: supply stub function for tcs coro",
|
||||
"nominated": true,
|
||||
"nomination_type": 1,
|
||||
"resolution": 0,
|
||||
"resolution": 1,
|
||||
"main_sha": null,
|
||||
"because_sha": "bb0efdd4d8968a71957b563e7dbf98cefa80a986",
|
||||
"notes": null
|
||||
|
|
|
|||
|
|
@ -2968,6 +2968,7 @@ draw_tcs_llvm_generate(struct draw_llvm *llvm,
|
|||
|
||||
if (gallivm->cache && gallivm->cache->data_size) {
|
||||
gallivm_stub_func(gallivm, variant_func);
|
||||
gallivm_stub_func(gallivm, variant_coro);
|
||||
return;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue