Bug 87611

Summary: Exercise gl_VertexID corner cases in i965 driver
Product: piglit Reporter: Ian Romanick <idr>
Component: testsAssignee: shuo.wang
Status: RESOLVED FIXED QA Contact: Piglit Mailing List <piglit>
Severity: normal    
Priority: medium CC: idr, kenneth, shuo.wang
Version: unspecified   
Hardware: All   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: case for bug 87611 and 85529
case for bug 87611 and 85529
the second version of this case

Description Ian Romanick 2014-12-22 20:31:31 UTC
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.
Comment 1 Ian Romanick 2014-12-22 20:35:21 UTC
Also... this is related to Mesa bug #85529.
Comment 2 shuo.wang 2014-12-31 06:28:04 UTC
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
Comment 3 shuo.wang 2014-12-31 06:29:40 UTC
Case is ready
Comment 4 shuo.wang 2014-12-31 06:30:07 UTC
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
Comment 5 shuo.wang 2015-01-04 05:15:45 UTC
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.