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 39f0b40..0806076 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];