diff options
author | Brian Paul <[email protected]> | 2006-10-21 21:14:20 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-10-21 21:14:20 +0000 |
commit | 828d15a6e0907fe4bb7c564d453a2b1a05f109bc (patch) | |
tree | f19c20ada86f45a5b2a3d7417f432bbe6829a42f /src | |
parent | 4676b6260f7e3c6144f4346c0660603a031b1834 (diff) |
move interpolate_varying() call
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/swrast/s_span.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/swrast/s_span.c b/src/mesa/swrast/s_span.c index a23a60850b2..8a2e5d118ed 100644 --- a/src/mesa/swrast/s_span.c +++ b/src/mesa/swrast/s_span.c @@ -1361,12 +1361,10 @@ shade_texture_span(GLcontext *ctx, SWspan *span) if (span->interpMask & SPAN_Z) _swrast_span_interpolate_z (ctx, span); - if (ctx->ShaderObjects._FragmentShaderPresent) - interpolate_varying(ctx, span); - /* Run fragment program/shader now */ if (ctx->ShaderObjects._FragmentShaderPresent) { - _swrast_exec_arbshader (ctx, span); + interpolate_varying(ctx, span); + _swrast_exec_arbshader(ctx, span); } else if (ctx->FragmentProgram._Enabled) { _swrast_exec_fragment_program(ctx, span); |