Bug 9134

Summary: EdgeFlag within a display list with mode set to COMPILE_AND_EXECUTE doen't take effect.
Product: Mesa Reporter: haihao <haihao.xiang>
Component: Drivers/DRI/i965Assignee: Eric Anholt <eric>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: high CC: mesa-dev
Version: git   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Attachments: Test case demonstrating edge flag in a display list with mode set to COMPILE_AND_EXECUTE
Special treatment for EDGEFLAG when loopbacking vertex list

Description haihao 2006-11-22 22:28:03 UTC
Calling EdgeFlag from a display list with mode set to COMPILE is OK, but from a
display list with mode set to COMPILE_AND_EXECUTE has no effect, even nothing is
drawn on the window.
Comment 1 haihao 2006-11-22 22:36:51 UTC
Created attachment 7876 [details]
Test case demonstrating edge flag in a display list with mode set to COMPILE_AND_EXECUTE
Comment 2 haihao 2006-11-22 22:49:43 UTC
Created attachment 7877 [details] [review]
Special treatment for  EDGEFLAG when loopbacking vertex list

Because BRW_ATTRIB_EDGEFLAG, BRW_ATTRIB_INDEX are between 0 and
BRW_ATTRIB_TEX7, they will be included when brw_loopback_vertex_list(in
brw_fallback.c) sets vertex attribute function in the first loop.

I modified it to exclude BRW_ATTRIB_EDGEFLAG and BRW_ATTRIB_INDEX in the first
loop.
Comment 3 haihao 2006-11-23 17:49:19 UTC
The CVS HEAD revision now works fine, Thanks for Keith's committing.
Comment 4 haihao 2006-11-23 17:50:14 UTC
Verified
Comment 5 Adam Jackson 2009-08-24 12:25:10 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.