<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 - Line rendering broken in Dolphin when using gl_ClipDistance"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=97232">97232</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>Line rendering broken in Dolphin when using gl_ClipDistance
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>unspecified
          </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>idr@freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jules.blok@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=125581" name="attach_125581" title="apitrace file">attachment 125581</a> <a href="attachment.cgi?id=125581&action=edit" title="apitrace file">[details]</a></span>
apitrace file

We've added a user-defined clipping plane (gl_ClipDistance) to our vertex
shader, unfortunately this breaks our geometry shaders on the Intel drivers. It
seems that the software rasterizer (llvm) does handle this case correctly.

I've attached an apitrace to reproduce the problem.

Expected output:
<a href="https://fifoci.dolphin-emu.org/media/results/eae81c0cc9421e4b98a35024ee1a9a471cf1e7ca.png">https://fifoci.dolphin-emu.org/media/results/eae81c0cc9421e4b98a35024ee1a9a471cf1e7ca.png</a>

Actual output:
<a href="https://fifoci.dolphin-emu.org/media/results/44bba96a45cf665df718f81ea48f867e174999da.png">https://fifoci.dolphin-emu.org/media/results/44bba96a45cf665df718f81ea48f867e174999da.png</a>

You can also take a look at this issue on our automated testing system: 
<a href="https://fifoci.dolphin-emu.org/compare/1931322-1924567/">https://fifoci.dolphin-emu.org/compare/1931322-1924567/</a>

And here is the relevant PR where we are running into this issue:
<a href="https://github.com/dolphin-emu/dolphin/pull/4085">https://github.com/dolphin-emu/dolphin/pull/4085</a></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>