From: Brian Date: Wed, 25 Apr 2007 15:58:15 +0000 (-0600) Subject: fix attribsMask (re-fixes depth peeling algorithm) X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6d27194dffa52e076aba49edb222a70fcc77628b;p=mesa.git fix attribsMask (re-fixes depth peeling algorithm) --- 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;