[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
Fri Oct 13 08:00:38 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=102678

--- Comment #4 from Kenneth Graunke <kenneth at whitecape.org> ---
Ian, any thoughts?  This just feels wrong at this point...I thought the
intention was that gl_VertexID - gl_BaseVertex would be the zero-based vertex
ID.

But if gl_VertexID is <first + i>, and gl_BaseVertex is required to be 0 for
DrawArrays, then...there is no GLSL variable to get <first>, so there is no way
to get the zero-based index.

It seems like gl_BaseVertex really ought to be <first> for DrawArrays.

-- 
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/20171013/b93d66c9/attachment.html>


More information about the intel-3d-bugs mailing list