projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
29925c6
)
added CallStack, StackDepth
author
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 21:56:43 +0000
(14:56 -0700)
committer
Brian
<brian@yutani.localnet.net>
Thu, 22 Feb 2007 21:56:43 +0000
(14:56 -0700)
src/mesa/shader/nvvertexec.h
patch
|
blob
|
history
diff --git
a/src/mesa/shader/nvvertexec.h
b/src/mesa/shader/nvvertexec.h
index d7792879736c990987180a7d395541dcf7283447..9e66c6ebb2159a5907df45261d860369c30cba16 100644
(file)
--- 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[] */
};