Bug 24470

Summary: [i915] glean case clipFlat failed
Product: Mesa Reporter: fangxun <xunx.fang>
Component: Drivers/DRI/i915Assignee: Eric Anholt <eric>
Status: RESOLVED MOVED QA Contact:
Severity: normal    
Priority: medium CC: christophe.prigent, eric, jiajia.zheng
Version: unspecified   
Hardware: All   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Xorg log
clipFlat output log

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?

Thanks.
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
Comment 7 GitLab Migration User 2019-09-18 19:32:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/677.

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.