Skip to content
Snippets Groups Projects
Commit f511d2a5 authored by Dave Airlie's avatar Dave Airlie
Browse files

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: default avatarRoland Scheidegger <sroland@vmware.com>
Part-of: <mesa/mesa!5049>
parent d815d74f
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment