<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 - Wrong gl_TessLevelOuter interpretation for isolines"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94524">94524</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Wrong gl_TessLevelOuter interpretation for isolines
          </td>
        </tr>

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

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

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

        <tr>
          <th>OS</th>
          <td>Linux (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>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>lankyleggy@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=122269" name="attach_122269" title="Piglit patch to add failing test">attachment 122269</a> <a href="attachment.cgi?id=122269&action=edit" title="Piglit patch to add failing test">[details]</a></span>
Piglit patch to add failing test

On Intel Haswell (at least: I don't have other hardware to test), on Mesa git
aa3b85f, when using the isolines tessellation primitive mode, the outer
tessellation levels are interpreted the wrong way around.

The GL_ARB_tessellation_shader specification says, under the header "Isoline
Tessellation":
    The number of isolines generated is derived from the first outer
    tessellation level; the number of segments in each isoline is derived from
    the second outer tessellation level.

However, the number of isolines is currently taken from gl_TessLevelOuter[1],
and the number of segments in each from gl_TessLevelOuter[0].

I've attached a Piglit patch that adds a test for this.</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>