From b85d4d61a7f93a9f2d58a1d701808584e0fce8c7 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 25 Feb 2007 18:56:57 -0700 Subject: define and use MAX_PROGRAM_ADDRESS_REGS --- src/mesa/shader/prog_execute.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/shader') diff --git a/src/mesa/shader/prog_execute.h b/src/mesa/shader/prog_execute.h index 0f4956d6ee3..47845e9111f 100644 --- a/src/mesa/shader/prog_execute.h +++ b/src/mesa/shader/prog_execute.h @@ -57,7 +57,7 @@ struct gl_program_machine GLfloat Outputs[MAX_PROGRAM_OUTPUTS][4]; GLfloat (*EnvParams)[4]; /**< Vertex or Fragment env parameters */ GLuint CondCodes[4]; /**< COND_* value for x/y/z/w */ - GLint AddressReg[MAX_VERTEX_PROGRAM_ADDRESS_REGS][4]; + GLint AddressReg[MAX_PROGRAM_ADDRESS_REGS][4]; GLuint CallStack[MAX_PROGRAM_CALL_DEPTH]; /**< For CAL/RET instructions */ GLuint StackDepth; /**< Index/ptr to top of CallStack[] */ -- cgit v1.2.3