<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gl_BaseVertex should always be zero when the draw command has no <basevertex> parameter"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102678#c5">Comment # 5</a>
              on <a class="bz_bug_link 
          bz_status_ASSIGNED "
   title="ASSIGNED - gl_BaseVertex should always be zero when the draw command has no <basevertex> parameter"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=102678">bug 102678</a>
              from <span class="vcard"><a class="email" href="mailto:idr@freedesktop.org" title="Ian Romanick <idr@freedesktop.org>"> <span class="fn">Ian Romanick</span></a>
</span></b>
        <pre>glDrawArrays behaves as if you did

    unsigned indices[count];

    for (i = 0; i < count; i++)
        indices[i] = first + count;

    glDrawElements(mode, count, GL_UNSIGNED_INT, indices);

The language in the spec is a bit more complicated than that, IIRC, but it
should be equivalent.  I think gl_BaseVertex=0 and gl_VertexID=first+i is
consistent with that.</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>