[Bug 93748] [r600g]OpenCL driver causes ImageMagick to segfault

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jan 18 18:33:51 PST 2016


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

--- Comment #2 from nixscripter at gmail.com ---
Created attachment 121124
  --> https://bugs.freedesktop.org/attachment.cgi?id=121124&action=edit
GenerateNoiseImage kernel

Here is their kernel. It's rather ugly.

It has a lot of macros (like ClamptoQuantum) and functions running on the host
(mwcGenerateDifferentialNoise is elsewhere in the same file), but perhaps if
it's an LLVM assembler bug those don't matter.

The initialization code for the OpenCL context, by the way, is entirely
separate and also rather ugly (I presume so they can load it early and "drop it
in" when needed).

Here is a link to the source of my exact version (which I know is old, sorry
about that) so you can look at any surrounding context necessary:

http://distfiles.icmpv6.org/distfiles/ImageMagick-6.9.2-6.tar.xz

Note that this kernel can be found in magick/accelerate-private.h -- the error
pointing to magick/accelerate.c is where the kernel is initialized.

-- 
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/dri-devel/attachments/20160119/2f9e6336/attachment.html>


More information about the dri-devel mailing list