remove some errant code from previous check-in
authorBrian Paul <brian.paul@tungstengraphics.com>
Fri, 23 Apr 2004 13:58:44 +0000 (13:58 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Fri, 23 Apr 2004 13:58:44 +0000 (13:58 +0000)
src/mesa/swrast/s_span.c

index 0abeaec13558690a82430d24579202c253354702..871e4740055d5a4d30e8f342fca4cd7221587e3b 100644 (file)
@@ -560,9 +560,6 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
          }
          else {
             /* tex.c */
-            GLfloat w = span->w;
-            GLfloat dwdx = span->dwdx;
-            assert(span->interpMask & SPAN_W);
             for (i = 0; i < span->end; i++) {
                const GLfloat invQ = (q == 0.0F) ? 1.0F : (1.0F / q);
                lambda[i] = _swrast_compute_lambda(dsdx, dsdy, dtdx, dtdy,
@@ -576,7 +573,6 @@ interpolate_texcoords(GLcontext *ctx, struct sw_span *span)
                t += dtdx;
                r += drdx;
                q += dqdx;
-               w += dwdx;
             }
          }
          span->arrayMask |= SPAN_LAMBDA;