<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [radeonsi] luxmark segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76223#c13">Comment # 13</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - [radeonsi] luxmark segfault"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=76223">bug 76223</a>
              from <span class="vcard"><a class="email" href="mailto:awatry@gmail.com" title="Aaron Watry <awatry@gmail.com>"> <span class="fn">Aaron Watry</span></a>
</span></b>
        <pre>Created <span class=""><a href="attachment.cgi?id=102163" name="attach_102163" title="Possible fix for luxmark segfault">attachment 102163</a> <a href="attachment.cgi?id=102163&action=edit" title="Possible fix for luxmark segfault">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=76223&attachment=102163'>[review]</a>
Possible fix for luxmark segfault

The luxrays kernels used an __attribute__(work_group_size_hint(64,1,1)) on
several kernels.  Mesa was not expecting kernels to have multiple operands in
the LLVM metadata nodes (and an attribute is represented as an additional
metadata node). This led to memory corruption and an LLVM error.

This patch fixes the piglit test case in <span class=""><a href="attachment.cgi?id=101832" name="attach_101832" title="Test Case exposing the bug causing the luxrays crash">attachment 101832</a> <a href="attachment.cgi?id=101832&action=edit" title="Test Case exposing the bug causing the luxrays crash">[details]</a></span> on CEDAR (r600g),
and it probably helps radeonsi as well (which I can test later).

This same patch will be sent to the mesa-dev list momentarily.</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>