<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 - clipping work incorrectly on y-axis"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=111247">111247</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>clipping work incorrectly on y-axis
          </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/DRI/i965
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>xinghua.cao@intel.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-3d-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>The issue exists on mesa master, and is a regression on mesa, it does not exist
on mesa-19.1.2.
Steps:
1. Use mesa master libraries.
2. Download latest chrome, and open
<a href="https://www.khronos.org/registry/webgl/sdk/tests/deqp/functional/gles3/clipping.html?webglVersion=2&quiet=0&quick=1">https://www.khronos.org/registry/webgl/sdk/tests/deqp/functional/gles3/clipping.html?webglVersion=2&quiet=0&quick=1</a>
3. One case fail.

Case details:
1. Drawing window size (128, 128), set viewport (38, 25, 76, 64), viewport
size(76, 64)
2. Draw lines(line_width = 5)
3. On x-axis, lines,
   {(-1+1/76, -0.17218), (1+1/76, -0.17218)}  // This line width is 76
   {(-1-1/76, 0.2028), (1-1/76, 0.2028)}      // This line width is 75, one
lack at the line end.
   {(-1+1/76, 0.5153), (1-1/76, 0.5153)}      // This line width is 75, one
lack at the line end.
   The behaviors are the same on mesa and reference.
4. on y-axis, lines,
   {(-0.1976, -1+1/64), (-0.1976, 1+1/64)} // On mesa line height is 63, one
lack at the line begin; but line height is 64 on reference.
   {(0.2234, -1-1/64), (0.2234, 1-1/64)}  // On mesa line height is 64; but
line height is 63 on reference, one lack at the line end.
   {(0.5128, -1+1/64),(0.5128, 1-1/64)}   // line heights are all 63, but one
lack is at the line begin on mesa, and the other is at the line end on
reference.
   The x-axis and y-axis behaviors are different on mesa.</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>