r300: Further reduced the radeon_span.c diff.
[mesa.git] / src / mesa / swrast / s_context.c
index 522a66fad83605419fa9ba5a5f7bd08ce62496a7..2f25edbd811c589e36c3d4939b8109d94da97318 100644 (file)
@@ -520,10 +520,12 @@ _swrast_update_fragment_attribs(GLcontext *ctx)
       GLuint u;
       attribsMask = 0x0;
 
+#if 0 /* not yet */
       if (ctx->Depth.Test)
          attribsMask |= FRAG_BIT_WPOS;
       if (NEED_SECONDARY_COLOR(ctx))
          attribsMask |= FRAG_BIT_COL1;
+#endif
       if (swrast->_FogEnabled)
          attribsMask |= FRAG_BIT_FOGC;
 
@@ -534,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;