summaryrefslogtreecommitdiffstats
path: root/src
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 /src
parentc233aa27684cd0c6c44200c3afcf4a9d5863a947 (diff)
downloadexternal_mesa3d-6d27194dffa52e076aba49edb222a70fcc77628b.zip
external_mesa3d-6d27194dffa52e076aba49edb222a70fcc77628b.tar.gz
external_mesa3d-6d27194dffa52e076aba49edb222a70fcc77628b.tar.bz2
fix attribsMask (re-fixes depth peeling algorithm)
Diffstat (limited to 'src')
-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 c55de89..2f25edb 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;