summaryrefslogtreecommitdiff
path: root/src/mesa/swrast/s_pointtemp.h
diff options
context:
space:
mode:
authorBrian <brian@yutani.localnet.net>2007-02-02 11:01:01 -0700
committerBrian <brian@yutani.localnet.net>2007-02-02 11:01:01 -0700
commit9ab512ad8cf3a12f4f7f8494fa99bc9389f217db (patch)
tree4026b0a39ff5c0403372f8f396786b9b592dcc48 /src/mesa/swrast/s_pointtemp.h
parent462d8f5fafcc5ac69ea89cac1222abadded642e2 (diff)
Replace color, z, w, texture interpolants with new generic attrib interpolants.
Diffstat (limited to 'src/mesa/swrast/s_pointtemp.h')
-rw-r--r--src/mesa/swrast/s_pointtemp.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/swrast/s_pointtemp.h b/src/mesa/swrast/s_pointtemp.h
index f769f524a0..d211a5a3a2 100644
--- a/src/mesa/swrast/s_pointtemp.h
+++ b/src/mesa/swrast/s_pointtemp.h
@@ -143,9 +143,9 @@ NAME ( GLcontext *ctx, const SWvertex *vert )
}
}
/* need these for fragment programs */
- span->w = 1.0F;
- span->dwdx = 0.0F;
- span->dwdy = 0.0F;
+ span->attrStart[FRAG_ATTRIB_WPOS][3] = 1.0F;
+ span->attrStepX[FRAG_ATTRIB_WPOS][3] = 0.0F;
+ span->attrStepY[FRAG_ATTRIB_WPOS][3] = 0.0F;
#endif
#if FLAGS & SMOOTH
span->arrayMask |= SPAN_COVERAGE;