We need a test case to exercise a corner case recently fixed in the i965 driver by Ken. To exercise the bug, the test needs to do 4 things: 1. Use user-allocated vertex arrays (NOT vertex buffer objects). 2. Use a glDrawArrays with a non-zero 'first'. 3. Use primitive restart to trigger multiple _mesa_prim without an intervening state change. 4. Validate the value of gl_VertexID in the vertex shader. Once the fix lands in Mesa master, we'll update the bug with commit ID. That way the test author will know when the bug is fixed.
Also... this is related to Mesa bug #85529.
Created attachment 111553 [details] [review] case for bug 87611 and 85529 This case is failed by master, and passed by the patch of vcelestialragev@gmail.com(https://bugs.freedesktop.org/attachment.cgi?id=110839) which is agree by Kenneth Graunke for bug 85528
Case is ready
Created attachment 111554 [details] [review] case for bug 87611 and 85529 This case is failed by master, and passed by the patch of vcelestialragev@gmail.com(https://bugs.freedesktop.org/attachment.cgi?id=110839) which is agree by Kenneth Graunke for Bug 85529 - Surfaces not drawn in Unvanquished
Created attachment 111707 [details] [review] the second version of this case Modify the case to follow the correct way to reference a bug
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.