Bug 12453 - polygon face culling doesn't work well in DRI mode
Summary: polygon face culling doesn't work well in DRI mode
Status: VERIFIED FIXED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/DRI/i965 (show other bugs)
Version: git
Hardware: Other Linux (All)
: medium normal
Assignee: haihao
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-09-17 00:39 UTC by Shuang He
Modified: 2009-08-24 12:28 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
test case (2.53 KB, application/octet-stream)
2007-09-17 00:43 UTC, Shuang He
Details

Description Shuang He 2007-09-17 00:39:07 UTC
this issue only happens in DRI mode
when FRONT face is set to GL_POINT mode, and BACK face is set to GL_FILL mode
enable GL_CULL_FACE, and cull FRONT face
the expected result is only FRONT face being culled away.
but here we found BACK face is also affected (BACK face change to take the color we set for FRONT face)
Comment 1 Shuang He 2007-09-17 00:43:05 UTC
Created attachment 11598 [details]
test case

we set green for FRONT face, blue for BACK face
after culling the FRONT face
the triangle left there should be in blue.
Comment 2 haihao 2007-09-27 01:08:53 UTC
fixed in commit 3ee6a77e97f7d2996f8fffdbb4787a9589189b39
Comment 3 Shuang He 2007-09-27 02:07:44 UTC
verified on both 32bit and 64bit
Comment 4 Adam Jackson 2009-08-24 12:28:04 UTC
Mass version move, cvs -> git


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.