https://bugs.freedesktop.org/show_bug.cgi?id=73571

--- Comment #4 from Tom Stellard <tstel...@gmail.com> ---
(In reply to comment #3)
> Created attachment 92006 [details]
> Don't crash on NULL global mem objects
> 
> The attached patch fixes the original issue (bt in #c2), and adds prelimnary
> support for NULL global mem objects.

Can you send this patch to the mailing list and cc Francisco.  Also, in order
to fix this correctly on r600g, you will need to reserve offset 0 in the memory
pool, so that there are 0 can never be a valid pointer.

You can do this by creating a 1024 byte memory pool item and adding it to the
item list in the compute_memory_pool_init() function.  This should reserve the
space so no other items can use it.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to