[Mesa-dev] [Bug 73571] [clover] Add support for NULL global memory object arguments

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Tue Jan 14 11:22:54 PST 2014


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

--- Comment #4 from Tom Stellard <tstellar at 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20140114/16b8f3bf/attachment.html>


More information about the mesa-dev mailing list