summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-02-22 14:56:43 -0700
committerBrian <[email protected]>2007-02-22 14:56:43 -0700
commit79fb4527cad556792f514d9e94e8f623837752ad (patch)
tree330783e34bf0ca1a2bf81082817bc6286315855f /src
parent29925c6dcd2ee707bce3a278f9c9ce3db5d00630 (diff)
added CallStack, StackDepth
Diffstat (limited to 'src')
-rw-r--r--src/mesa/shader/nvvertexec.h3
1 files changed, 3 insertions, 0 deletions
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[] */
};