projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b39be3
)
remove some unneeded code in init_machine()
author
Brian
<brian@yutani.localnet.net>
Fri, 11 May 2007 21:12:40 +0000
(15:12 -0600)
committer
Brian
<brian@yutani.localnet.net>
Fri, 11 May 2007 21:12:40 +0000
(15:12 -0600)
src/mesa/swrast/s_fragprog.c
patch
|
blob
|
history
diff --git
a/src/mesa/swrast/s_fragprog.c
b/src/mesa/swrast/s_fragprog.c
index b1501221cadfa4ee7ee1b4c8d21ac1e611c62d21..e47dbbdaf354f43ee5011b2968ef7eee06b4789e 100644
(file)
--- 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,