https://bugs.freedesktop.org/show_bug.cgi?id=82717
--- Comment #8 from Christoph Haag haagch@frickel.club --- To document the current state...
Recently I was getting "unsupported call to function get_global_id" so I assumed there was some llvm problem. Turns out if this happens you just need to rebuild libclc for your llvm version.
With these patches mandelbulber-opencl sorta works: https://cgit.freedesktop.org/~funfunctor/mesa/log/?h=clover-image-support-en...
When I first tested the patches, I made this Video: https://www.youtube.com/watch?v=-R-r0CEub74 The rendering actually looks close to how OpenCL from amdgpu-pro renders.
Today it sorta works, but looks worse. Some comparison screenshots:
Default view: clover: https://i.imgur.com/kct6anR.png amdgpu-pro: https://i.imgur.com/1FIQ07m.jpg
A little bit zoomed in; clover: https://i.imgur.com/5SmwL6Q.png amdgpu: https://i.imgur.com/CcPwcpl.png
Possibly it's just an image format mismatch, see https://cgit.freedesktop.org/~funfunctor/mesa/commit/?h=clover-image-support...