summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-04-25 09:58:15 -0600
committerBrian <brian@yutani.localnet.net>2007-04-25 09:58:15 -0600
commit6d27194dffa52e076aba49edb222a70fcc77628b (patch)
tree7a8154f425a0490e0dd8acff0f2a468060cb2fff
parentc233aa27684cd0c6c44200c3afcf4a9d5863a947 (diff)
fix attribsMask (re-fixes depth peeling algorithm)
-rw-r--r--src/mesa/swrast/s_context.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c
index c55de89085..2f25edbd81 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;