summaryrefslogtreecommitdiffstats
path: root/src/mesa/swrast/s_fragprog.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-05-11 15:12:40 -0600
committerBrian <[email protected]>2007-05-11 15:12:40 -0600
commiteab6e1652271f46361f95e21e9e5afcb5ffa37d7 (patch)
tree8f93646b7325cc2b053d6591142865a8623b7fc9 /src/mesa/swrast/s_fragprog.c
parent1b39be3790a093e5b54974221478905b853cadb4 (diff)
remove some unneeded code in init_machine()
Diffstat (limited to 'src/mesa/swrast/s_fragprog.c')
-rw-r--r--src/mesa/swrast/s_fragprog.c5
1 files changed, 0 insertions, 5 deletions
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,