<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - i965: Using EWA algorithm for isotropic case"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=82463">82463</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>i965: Using EWA algorithm for isotropic case
          </td>
        </tr>

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

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>pavel.e.popov@intel.com
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>10.2
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>Drivers/DRI/i965
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Tests "MesaDemos tests/texfilt" and Test "MesaDemos tests/mipmap_tunnel"
started to show an expected results (the transition from one mipmap level to
another should be nice and regular/circular) for anisotropic case (2x - 16x)
after EWA algorithm was enabled in Mesa: 
<a href="http://cgit.freedesktop.org/mesa/mesa/commit/?id=f74cf5f80ea6ea16abb38c28c2b4826b8559017b">http://cgit.freedesktop.org/mesa/mesa/commit/?id=f74cf5f80ea6ea16abb38c28c2b4826b8559017b</a>

But for isotropic case (1x) something like a polar rose is still observed. The
screenshots are attached below. This is because EWA algorithm was enabled in
Mesa only for anisotropic case. 

But EWA algorithm also can be enabled for isotropic case. At least Haswell
programming notes (Volume 2d: Command Reference: Structures(Haswell), Page 271)
contains the following lines:
"When EWA used for non-anisotropic filtering and the coordinates have zero
derivative the computed LOD is 0 instead of -inf."

I enabled EWA algorithm for isotropic case too and expected results were
observed for both tests. The screenshots are attached below.

Also I run these tests on Nvidia and observed that they also work as expected.
The screenshots are attached below.

Could we use EWA for isotropic case? Or just say that this polar rose is ok for
isotropic case and performance is more important for us here.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>