Bug 87611 - Exercise gl_VertexID corner cases in i965 driver
Summary: Exercise gl_VertexID corner cases in i965 driver
Status: RESOLVED FIXED
Alias: None
Product: piglit
Classification: Unclassified
Component: tests (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: shuo.wang
QA Contact: Piglit Mailing List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-22 20:31 UTC by Ian Romanick
Modified: 2015-01-04 05:15 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:


Attachments
case for bug 87611 and 85529 (10.03 KB, patch)
2014-12-31 06:28 UTC, shuo.wang
Details | Splinter Review
case for bug 87611 and 85529 (10.03 KB, patch)
2014-12-31 06:30 UTC, shuo.wang
Details | Splinter Review
the second version of this case (8.92 KB, patch)
2015-01-04 05:15 UTC, shuo.wang
Details | Splinter Review

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.