summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-01 10:08:07 -0700
committerBrian <brian@yutani.localnet.net>2007-02-01 10:08:07 -0700
commitabeca8d17d0728e68ec0c7cb9d9ca91b06b560d0 (patch)
treebbf6aa9837f04f0e8fd23147e7f3126aa487c65b /src/mesa/swrast/s_span.c
parent496aa47042527852ec232c712168fb7fe3c645c3 (diff)
downloadexternal_mesa3d-abeca8d17d0728e68ec0c7cb9d9ca91b06b560d0.zip
external_mesa3d-abeca8d17d0728e68ec0c7cb9d9ca91b06b560d0.tar.gz
external_mesa3d-abeca8d17d0728e68ec0c7cb9d9ca91b06b560d0.tar.bz2
comments
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 5c552e6..4a56275 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -599,7 +599,6 @@ interpolate_texcoords(GLcontext *ctx, SWspan *span)
q += dqdx;
w += dwdx;
}
-
}
else {
for (i = 0; i < span->end; i++) {
@@ -817,7 +816,10 @@ interpolate_texcoords(GLcontext *ctx, SWspan *span)
/**
- * Fill in the span.varying array from the interpolation values.
+ * Fill in the arrays->attribs[FRAG_ATTRIB_VARx] arrays from the
+ * interpolation values.
+ * XXX since interpolants/arrays are getting uniformed, we might merge
+ * this with interpolate_texcoords(), interpolate_Fog(), etc. someday.
*/
static INLINE void
interpolate_varying(GLcontext *ctx, SWspan *span)