<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - radv: New D3D boolean optimizations cause GPU hang in Witcher 3"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=109075">109075</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radv: New D3D boolean optimizations cause GPU hang in Witcher 3
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/Vulkan/radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>philip.rebohle@tu-dortmund.de
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

the following commit introduces a GPU hang in Witcher 3 on RADV:

commit 6bcd2af0863aea9d9d3519300a75820d012e1160
Author: Jason Ekstrand <<a href="mailto:jason.ekstrand@intel.com">jason.ekstrand@intel.com</a>>
Date:   Fri Oct 19 16:58:36 2018 -0500

    nir/algebraic: Add some optimizations for D3D-style Booleans


Specifically, the following optimization seems to be the culprit, as commenting
it out fixes it:

   (('iand', ('ineg', ('b2i', a)), '1.0@32'), ('b2f', a)),


A Renderdoc capture to reproduce the hang can be found here (recorded with
Renderdoc 1.2 on Polaris):
<a href="https://mega.nz/#!5CgAgAzZ!k9ZmQDVIiqXynhoJ0xEZmrRJpDr-7yYYc8CtMGnKjfo">https://mega.nz/#!5CgAgAzZ!k9ZmQDVIiqXynhoJ0xEZmrRJpDr-7yYYc8CtMGnKjfo</a></pre>
        </div>
      </p>


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

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