<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 - [radeonsi] incorrect primitive restart index used"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98025">98025</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[radeonsi] incorrect primitive restart index used
          </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/Gallium/radeonsi
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>jlegg@feralinteractive.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=126961" name="attach_126961" title="Apitrace reproducing the issue">attachment 126961</a> <a href="attachment.cgi?id=126961&action=edit" title="Apitrace reproducing the issue">[details]</a></span>
Apitrace reproducing the issue

With radeonsi, If primitive restart is enabled for two consecutive draws which
use different primitive restart indices, then the first draw's primitive
restart index is incorrectly used for the second draw.

The attached apitrace reproduces the issue. The first and second draws should
draw the same thing. The first is using a primitive restart index of
0xFFFFFFFF, and the second is using 0xFFFF (these are set using fixed index
primitive restart and different index types).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>