mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
remove some unneeded code in init_machine()
This commit is contained in:
parent
1b39be3790
commit
eab6e16522
1 changed files with 0 additions and 5 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue