summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_span.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-05-02 18:45:44 -0600
committerBrian <[email protected]>2007-05-02 18:45:44 -0600
commit60d136f63c5a5a18b12952ec8e8532cbce086a4d (patch)
treef9b031bc2d54d7d13c61d5a5c91cc6fec2502aa6 /src/mesa/swrast/s_span.c
parent62da6a1b3e341e53981e2817595e0eea107fe6cb (diff)
changes to get DDX/DDY working again
Diffstat (limited to 'src/mesa/swrast/s_span.c')
-rw-r--r--src/mesa/swrast/s_span.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c
index 0b17791567a..097d2c7b51c 100644
--- a/src/mesa/swrast/s_span.c
+++ b/src/mesa/swrast/s_span.c
@@ -1357,7 +1357,11 @@ shade_texture_span(GLcontext *ctx, SWspan *span)
if ((inputsRead >= FRAG_BIT_VAR0) && (span->interpMask & SPAN_VARYING))
interpolate_varying(ctx, span);
+#if 0
if (inputsRead & FRAG_BIT_WPOS)
+#else
+ /* XXX always interpolate wpos so that DDX/DDY work */
+#endif
interpolate_wpos(ctx, span);
/* Run fragment program/shader now */