From 6d27194dffa52e076aba49edb222a70fcc77628b Mon Sep 17 00:00:00 2001 From: Brian Date: Wed, 25 Apr 2007 09:58:15 -0600 Subject: [PATCH] fix attribsMask (re-fixes depth peeling algorithm) --- src/mesa/swrast/s_context.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index c55de89085d..2f25edbd811 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -536,6 +536,13 @@ _swrast_update_fragment_attribs(GLcontext *ctx) } } + /* don't want to interpolate these generic attribs just yet */ + /* XXX temporary */ + attribsMask &= ~(FRAG_BIT_WPOS | + FRAG_BIT_COL0 | + FRAG_BIT_COL1 | + FRAG_BIT_FOGC); + /* Update _ActiveAttribs[] list */ { GLuint i, num = 0; -- 2.30.2