diff options
author | Brian <brian@yutani.localnet.net> | 2007-02-22 14:56:43 -0700 |
---|---|---|
committer | Brian <brian@yutani.localnet.net> | 2007-02-22 14:56:43 -0700 |
commit | 79fb4527cad556792f514d9e94e8f623837752ad (patch) | |
tree | 330783e34bf0ca1a2bf81082817bc6286315855f /src/mesa/shader | |
parent | 29925c6dcd2ee707bce3a278f9c9ce3db5d00630 (diff) |
added CallStack, StackDepth
Diffstat (limited to 'src/mesa/shader')
-rw-r--r-- | src/mesa/shader/nvvertexec.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/mesa/shader/nvvertexec.h b/src/mesa/shader/nvvertexec.h index d779287973..9e66c6ebb2 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[] */ }; |