From: Brian Date: Fri, 11 May 2007 21:12:40 +0000 (-0600) Subject: remove some unneeded code in init_machine() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eab6e1652271f46361f95e21e9e5afcb5ffa37d7;p=mesa.git remove some unneeded code in init_machine() --- diff --git a/src/mesa/swrast/s_fragprog.c b/src/mesa/swrast/s_fragprog.c index b1501221cad..e47dbbdaf35 100644 --- a/src/mesa/swrast/s_fragprog.c +++ b/src/mesa/swrast/s_fragprog.c @@ -99,11 +99,6 @@ init_machine(GLcontext *ctx, struct gl_program_machine *machine, const struct gl_fragment_program *program, const SWspan *span, GLuint col) { - GLuint inputsRead = program->Base.InputsRead; - - if (ctx->FragmentProgram.CallbackEnabled) - inputsRead = ~0; - if (program->Base.Target == GL_FRAGMENT_PROGRAM_NV) { /* Clear temporary registers (undefined for ARB_f_p) */ _mesa_bzero(machine->Temporaries,