Bug 12453

Summary: polygon face culling doesn't work well in DRI mode
Product: Mesa Reporter: Shuang He <shuang.he>
Component: Drivers/DRI/i965Assignee: haihao <haihao.xiang>
Status: VERIFIED FIXED QA Contact:
Severity: normal    
Priority: medium CC: dri-devel
Version: git   
Hardware: Other   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: test case

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.