[Bug 102678] gl_BaseVertex should always be zero when the draw command has no <basevertex> parameter
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sat Oct 14 00:26:03 UTC 2017
https://bugs.freedesktop.org/show_bug.cgi?id=102678
--- Comment #5 from Ian Romanick <idr at freedesktop.org> ---
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.
--
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/intel-3d-bugs/attachments/20171014/9e873daf/attachment.html>
More information about the intel-3d-bugs
mailing list