diff options
author | Brian Paul <[email protected]> | 2003-03-16 22:02:36 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2003-03-16 22:02:36 +0000 |
commit | 54e92e8420a028f07b0971ee8aa93be9b4214579 (patch) | |
tree | 4b376b2245fbd41c6b7c7fcc1a64207f43080e0c /src/mesa/swrast/s_span.c | |
parent | a79b55ae65a4a85a2aeaa2a5b1cb757c6e88849d (diff) |
Store partial derivative values in sw_span structure.
Implemented DDX and DDY fragment program instructions (whew!)
Not fully tested yet.
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r-- | src/mesa/swrast/s_span.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index cb02ab924d6..842f3be3c20 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1,4 +1,4 @@ -/* $Id: s_span.c,v 1.58 2003/03/15 17:33:27 brianp Exp $ */ +/* $Id: s_span.c,v 1.59 2003/03/16 22:02:37 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -76,7 +76,7 @@ void _mesa_span_default_fog( GLcontext *ctx, struct sw_span *span ) { span->fog = _mesa_z_to_fogfactor(ctx, ctx->Current.RasterDistance); - span->fogStep = 0; + span->fogStep = span->dfogdx = span->dfogdy = 0.0F; span->interpMask |= SPAN_FOG; } |