diff options
author | Dave Airlie <[email protected]> | 2020-05-15 10:03:32 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2020-06-11 06:05:40 +1000 |
commit | f511d2a553377a58b5eea6c6d1170fcc4972237a (patch) | |
tree | ccd5a2d9b57d62d7d1389af0e6c5be2dfada5ef8 /src/gallium/drivers/llvmpipe/lp_state_setup.c | |
parent | d815d74f75aa3a70e4c2d3859cf0cd76d0f2f9d8 (diff) |
gallivm: rework coroutine malloc/free callouts.
When using cached shaders we have to relink the shader with
external symbols when it's loaded. However the way gallivm does
function calls now hardcodes the function pointer into the shader.
LLVM had a mechanism for doing this properly using global mappings,
this switches the coroutine alloc/free code to use a global mapping.
Reviewed-by: Roland Scheidegger <[email protected]>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5049>
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_state_setup.c')
0 files changed, 0 insertions, 0 deletions