<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 - Increased difference from reference image in shaders"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=103616">103616</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Increased difference from reference image in shaders
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.2
          </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/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>b7.10110111@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>After commit 4009a9ead490ef1718e6fa83141aa086a43cd901 (found by git-bisect,
double-checked by git-revert) I get two failures of the integration_test in
precomputed_atmospheric_scattering demo [1]. The tests there compare reference
CPU-generated image with the one generated with GLSL code, checking that PSNR
is high enough. Before the above commit they all passed. Now the tests failing
are:

47 is not less than 46.7812
[ FAIL ] ModelTest RadianceSeparateTextures
46 is not less than 45.6379
[ FAIL ] ModelTest RadianceCombineTextures

I tested on Xeon E3-1226 v3 built-in GPU, as well as on Core i7-4765T built-in
GPU, with the exact same results.

I'm not sure if this is an expected decrease in precision, but it seems strange
to me: from the commit message I get that the code transformation introduced
should be equivalent. Apparently it's not, or there may be a bug somewhere.

[1]: <a href="https://github.com/ebruneton/precomputed_atmospheric_scattering">https://github.com/ebruneton/precomputed_atmospheric_scattering</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>