<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - OpenCL support for mandelbulber-opencl"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82717#c8">Comment # 8</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - OpenCL support for mandelbulber-opencl"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82717">bug 82717</a>
              from <span class="vcard"><a class="email" href="mailto:haagch@frickel.club" title="Christoph Haag <haagch@frickel.club>"> <span class="fn">Christoph Haag</span></a>
</span></b>
        <pre>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:
<a href="https://cgit.freedesktop.org/~funfunctor/mesa/log/?h=clover-image-support-enabled">https://cgit.freedesktop.org/~funfunctor/mesa/log/?h=clover-image-support-enabled</a>

When I first tested the patches, I made this Video:
<a href="https://www.youtube.com/watch?v=-R-r0CEub74">https://www.youtube.com/watch?v=-R-r0CEub74</a>
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: <a href="https://i.imgur.com/kct6anR.png">https://i.imgur.com/kct6anR.png</a>
amdgpu-pro: <a href="https://i.imgur.com/1FIQ07m.jpg">https://i.imgur.com/1FIQ07m.jpg</a>

A little bit zoomed in;
clover: <a href="https://i.imgur.com/5SmwL6Q.png">https://i.imgur.com/5SmwL6Q.png</a>
amdgpu: <a href="https://i.imgur.com/CcPwcpl.png">https://i.imgur.com/CcPwcpl.png</a>

Possibly it's just an image format mismatch, see
<a href="https://cgit.freedesktop.org/~funfunctor/mesa/commit/?h=clover-image-support-enabled&id=894fb7c558e83534855516b499bf66b33397e1ac">https://cgit.freedesktop.org/~funfunctor/mesa/commit/?h=clover-image-support-enabled&id=894fb7c558e83534855516b499bf66b33397e1ac</a></pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>