Skip to content
Snippets Groups Projects
Commit c0c5eed5 authored by Dave Airlie's avatar Dave Airlie Committed by Dylan Baker
Browse files

gallivm: add coro malloc hooks earlier and always.


This fixes GALLIVM_DEBUG=asm for compute shaders, changing
the hooks after dumping causes a segfault because the
memory has already been finalised. Just add the hooks always,
and before dumping anything.

Fixes: f511d2a5 ("gallivm: rework coroutine malloc/free callouts.")
Reviewed-by: default avatarRoland Scheidegger <sroland@vmware.com>
Part-of: <mesa/mesa!19714>
(cherry picked from commit fb7de303)
parent 2828fae0
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