summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeith Whitwell <[email protected]>2008-04-07 12:28:31 +0100
committerKeith Whitwell <[email protected]>2008-04-07 12:28:31 +0100
commita8a5376406cabf5aa6a44f7d37f5f8abbb4adf56 (patch)
treea2203a46dda330ac747e57ee5d9dec3b3854921d
parent5c19e47362c2d193850e98bd43a2bc2b783b0b5c (diff)
draw: strip edgeflags out of fetch-emit path
-rw-r--r--src/gallium/auxiliary/draw/draw_pt_fetch_emit.c2
1 files changed, 1 insertions, 1 deletions
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];