From: Keith Whitwell Date: Mon, 7 Apr 2008 11:28:31 +0000 (+0100) Subject: draw: strip edgeflags out of fetch-emit path X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=a8a5376406cabf5aa6a44f7d37f5f8abbb4adf56;p=mesa.git draw: strip edgeflags out of fetch-emit path --- diff --git a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c index 39f0b40838f..0806076956d 100644 --- a/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c +++ b/src/gallium/auxiliary/draw/draw_pt_fetch_emit.c @@ -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];