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_triangle.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_triangle.c')
-rw-r--r-- | src/mesa/swrast/s_triangle.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mesa/swrast/s_triangle.c b/src/mesa/swrast/s_triangle.c index 538102f41ff..fce782466f0 100644 --- a/src/mesa/swrast/s_triangle.c +++ b/src/mesa/swrast/s_triangle.c @@ -1,4 +1,4 @@ -/* $Id: s_triangle.c,v 1.68 2003/03/14 15:41:00 brianp Exp $ */ +/* $Id: s_triangle.c,v 1.69 2003/03/16 22:02:38 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -870,6 +870,7 @@ fast_persp_span(GLcontext *ctx, struct sw_span *span, */ #define NAME general_textured_triangle #define INTERP_Z 1 +#define INTERP_W 1 #define INTERP_FOG 1 #define DEPTH_TYPE DEFAULT_SOFTWARE_DEPTH_TYPE #define INTERP_RGB 1 @@ -888,6 +889,7 @@ fast_persp_span(GLcontext *ctx, struct sw_span *span, */ #define NAME multitextured_triangle #define INTERP_Z 1 +#define INTERP_W 1 #define INTERP_FOG 1 #define DEPTH_TYPE DEFAULT_SOFTWARE_DEPTH_TYPE #define INTERP_RGB 1 |