summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/nvvertexec.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/mesa/shader/nvvertexec.h')
-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[] */
};