From 79fb4527cad556792f514d9e94e8f623837752ad Mon Sep 17 00:00:00 2001 From: Brian Date: Thu, 22 Feb 2007 14:56:43 -0700 Subject: [PATCH] added CallStack, StackDepth --- src/mesa/shader/nvvertexec.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/mesa/shader/nvvertexec.h b/src/mesa/shader/nvvertexec.h index d7792879736..9e66c6ebb21 100644 --- a/src/mesa/shader/nvvertexec.h +++ b/src/mesa/shader/nvvertexec.h @@ -41,6 +41,9 @@ struct vp_machine GLfloat Outputs[VERT_RESULT_MAX][4]; GLuint CondCodes[4]; /**< COND_* value for x/y/z/w */ GLint AddressReg[MAX_VERTEX_PROGRAM_ADDRESS_REGS][4]; + + GLuint CallStack[MAX_PROGRAM_CALL_DEPTH]; /**< For CAL/RET instructions */ + GLuint StackDepth; /**< Index/ptr to top of CallStack[] */ }; -- 2.11.0