added CallStack, StackDepth
authorBrian <brian@yutani.localnet.net>
Thu, 22 Feb 2007 21:56:43 +0000 (14:56 -0700)
committerBrian <brian@yutani.localnet.net>
Thu, 22 Feb 2007 21:56:43 +0000 (14:56 -0700)
src/mesa/shader/nvvertexec.h

index d7792879736c990987180a7d395541dcf7283447..9e66c6ebb2159a5907df45261d860369c30cba16 100644 (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[] */
 };