added CallStack, StackDepth

This commit is contained in:
Brian
2007-02-22 14:56:43 -07:00
parent 29925c6dcd
commit 79fb4527ca
+3
View File
@@ -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[] */
};