Skip to content
Snippets Groups Projects
Commit fb7de303 authored by Dave Airlie's avatar Dave Airlie Committed by Marge Bot
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>
parent 301daf86
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