<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [REGRESSION] [BISECTED] [DXVK] 1-bit booleans and Elite Dangerous shader mis-optimization"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111141#c9">Comment # 9</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - [REGRESSION] [BISECTED] [DXVK] 1-bit booleans and Elite Dangerous shader mis-optimization"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111141">bug 111141</a>
              from <span class="vcard"><a class="email" href="mailto:jason@jlekstrand.net" title="Jason Ekstrand <jason@jlekstrand.net>"> <span class="fn">Jason Ekstrand</span></a>
</span></b>
        <pre>It's not nonsense at all.  I could see a few possible explanations of the
failure on AMD but not Intel:

 1. The shader depends on undefined behavior and the optimization change caused
that undefined behavior to be different and Intel just happens to work by luck.

 1. The optimization change caused NIR to turn a valid shader into something
which depends on undefined behavior and Intel just happens to work by luck.

 2. The optimization change caused NIR to generate a slightly different shader
which exposed a bug in the AMD LLVM back-end or the NIR -> LLVM translator.

I'd give the three even odds at this point.  I just finished looking quite a
bit at that shader in the context of
<a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - [DXVK][Regression][BISECTED][SKL] Everything is too bright on Elite Dangerous"
   href="show_bug.cgi?id=111152">https://bugs.freedesktop.org/show_bug.cgi?id=111152</a> and it has 23 undefined
values at the top of the shader.  Let me look at it a bit and see where some of
them are used.  They may be harmless.</pre>
        </div>
      </p>


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

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