fix attribsMask (re-fixes depth peeling algorithm)
authorBrian <brian@yutani.localnet.net>
Wed, 25 Apr 2007 15:58:15 +0000 (09:58 -0600)
committerBrian <brian@yutani.localnet.net>
Wed, 25 Apr 2007 15:58:15 +0000 (09:58 -0600)
src/mesa/swrast/s_context.c

index c55de89..2f25edb 100644 (file)
@@ -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;