draw: strip edgeflags out of fetch-emit path
authorKeith Whitwell <keith@tungstengraphics.com>
Mon, 7 Apr 2008 11:28:31 +0000 (12:28 +0100)
committerKeith Whitwell <keith@tungstengraphics.com>
Mon, 7 Apr 2008 11:28:31 +0000 (12:28 +0100)
src/gallium/auxiliary/draw/draw_pt_fetch_emit.c

index 39f0b40838f19eab11253631882c8607ff7f87f1..0806076956d9ce5cb8c9a3e1b23b0d7baf03ee7e 100644 (file)
@@ -149,7 +149,7 @@ fetch_store_general( struct fetch_emit_middle_end *feme,
    uint i, j;
 
    for (i = 0; i < count; i++) {
-      unsigned elt = fetch_elts[i];
+      unsigned elt = fetch_elts[i] & ~DRAW_PT_FLAG_MASK;
       
       for (j = 0; j < feme->nr_fetch; j++) {
          float attrib[4];