GLboolean
_mesa_execute_program(GLcontext * ctx,
const struct gl_program *program, GLuint maxInst,
- struct gl_program_machine *machine, GLuint element)
+ struct gl_program_machine *machine)
{
const GLuint MAX_EXEC = 10000;
GLint pc, total = 0;
extern GLboolean
_mesa_execute_program(GLcontext *ctx,
const struct gl_program *program, GLuint maxInst,
- struct gl_program_machine *machine, GLuint element);
+ struct gl_program_machine *machine);
#endif /* PROG_EXECUTE_H */
init_machine(ctx, &machine, program, span, i);
if (_mesa_execute_program(ctx, &program->Base,
- program->Base.NumInstructions,
- &machine, i)) {
+ program->Base.NumInstructions, &machine)) {
/* Store result color */
COPY_4V(span->array->attribs[FRAG_ATTRIB_COL0][i],
machine.Outputs[FRAG_RESULT_COLR]);
/* execute the program */
_mesa_execute_program(ctx, &program->Base, program->Base.NumInstructions,
- &machine, 0);
+ &machine);
/* Fixup fog an point size results if needed */
if (ctx->Fog.Enabled &&