Bug 24470 - [i915] glean case clipFlat failed
Summary: [i915] glean case clipFlat failed
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i915 (show other bugs)
Version: unspecified
Hardware: All Linux (All)
: medium normal
Assignee: Eric Anholt
QA Contact:
Depends on:
Reported: 2009-10-12 03:04 UTC by fangxun
Modified: 2015-06-16 08:09 UTC (History)
3 users (show)

See Also:
i915 platform:
i915 features:

Xorg log (22.58 KB, text/plain)
2009-10-12 03:04 UTC, fangxun
clipFlat output log (13.75 KB, text/plain)
2009-10-12 03:06 UTC, fangxun

Note You need to log in before you can comment on or make changes to this bug.
Description fangxun 2009-10-12 03:04:45 UTC
Created attachment 30284 [details]
Xorg log

system Environment:
Libdrm:	   (master)a107e5b12960f64722bff424502a4fc0ad33dc8f
Mesa:	    (master)3611d01a44d5d3cd2c132e685836b1ea9c8b9922
Xserver:    (master)1088073b11ed488c0df45af3867b900ef93c6fe1
Xf86_video_intel: (master)1556c62e0336ea2fef866722ee44d2d188e318f3
Kernel:       (drm-intel-next)8d91104aac6e21e6ca2a56124e2e47b0db043ea8

Bug detailed description:
start X, then run glean, the case clipFlat run failed on all our platforms.

Reproduce steps:
1. xinit&
2. run Glean/clipFlat
Comment 1 fangxun 2009-10-12 03:06:13 UTC
Created attachment 30285 [details]
clipFlat output log
Comment 2 Ian Romanick 2009-10-16 16:56:03 UTC
Is clipFlat a new test?  Has it been changed recently?  If the test has not recently changed, could you please bisect?

Comment 3 Gordon Jin 2009-10-16 20:16:25 UTC
(In reply to comment #2)
> Is clipFlat a new test?  Has it been changed recently?  If the test has not
> recently changed, could you please bisect?

Yes, it's a new case and fail since it was added around mid Sept. I thought you or Eric know who added it.
Comment 4 Eric Anholt 2010-05-14 15:38:38 UTC
commit 4e84dc8729cac4c78e521436ae091638a490da76
Author: Eric Anholt <eric@anholt.net>
Date:   Fri May 14 15:34:35 2010 -0700

    i965: Set the correct provoking vertex for clipped first-mode trifans.
    Bug #24470: glean clipFlat test.
Comment 5 jiajia 2010-08-26 00:45:58 UTC
This bug was fixed on i965, but still exists on i915 (Tested on Pineview with Mesa:(master)29bcbf5e797a18430285c75abb8a9300c8defe1d).
Comment 6 jiajia 2010-08-26 01:07:06 UTC
Here is the testing output on Pineview:
Test clipping with flat shading (provoking vertex).

clipFlat: Failure for glBegin/End(GL_TRIANGLES), glFrontFace(GL_CCW), glPolygonMode(GL_FILL)
	Translation: -1, -1
	GL_EXT_provoking_vertex test: GL_FIRST_VERTEX_CONVENTION_EXT mode
	Expected color (0, 1, 0) but found (0.623529, 0.376471, 0)
clipFlat:  FAIL rgba8, db, z24, s8, win+pmap, id 33

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.