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 c55de89085ddc7342235daf3f5bd7efa998a914b..2f25edbd811c589e36c3d4939b8109d94da97318 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;