}
+
+/**
+ * Execute the current fragment program, operating on the given span.
+ */
void
-_swrast_exec_nv_fragment_program( GLcontext *ctx, struct sw_span *span )
+_swrast_exec_fragment_program( GLcontext *ctx, struct sw_span *span )
{
const struct fragment_program *program = ctx->FragmentProgram.Current;
GLuint i;
-
/*
* Mesa 3-D graphics library
- * Version: 5.1
+ * Version: 6.1
*
- * Copyright (C) 1999-2002 Brian Paul All Rights Reserved.
+ * Copyright (C) 1999-2003 Brian Paul All Rights Reserved.
*
* Permission is hereby granted, free of charge, to any person obtaining a
* copy of this software and associated documentation files (the "Software"),
extern void
-_swrast_exec_nv_fragment_program( GLcontext *ctx, struct sw_span *span );
+_swrast_exec_fragment_program( GLcontext *ctx, struct sw_span *span );
#endif
if (span->interpMask & SPAN_SPEC) {
interpolate_specular(ctx, span);
}
- _swrast_exec_nv_fragment_program(ctx, span);
+ _swrast_exec_fragment_program(ctx, span);
monoColor = GL_FALSE;
}
* gives a potential speed-up.
*/
if (ctx->FragmentProgram.Enabled)
- _swrast_exec_nv_fragment_program( ctx, span );
+ _swrast_exec_fragment_program( ctx, span );
else
_swrast_texture_span( ctx, span );
}
if (ctx->FragmentProgram.Enabled)
- _swrast_exec_nv_fragment_program( ctx, span );
+ _swrast_exec_fragment_program( ctx, span );
else
_swrast_texture_span( ctx, span );
}