From: Brian Date: Thu, 22 Feb 2007 21:56:43 +0000 (-0700) Subject: added CallStack, StackDepth X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=79fb4527cad556792f514d9e94e8f623837752ad;p=mesa.git added CallStack, StackDepth --- 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[] */ };