projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa8059a
)
added assertion to catch use of too many temporaries
author
Brian
<brian@yutani.localnet.net>
Fri, 15 Dec 2006 22:37:32 +0000
(15:37 -0700)
committer
Brian
<brian@yutani.localnet.net>
Fri, 15 Dec 2006 22:37:32 +0000
(15:37 -0700)
src/mesa/tnl/t_vb_arbprogram.c
patch
|
blob
|
history
diff --git
a/src/mesa/tnl/t_vb_arbprogram.c
b/src/mesa/tnl/t_vb_arbprogram.c
index c59d98e118cb9000ea2b458f2b3326bc39cb8556..1f17a7e389d3dcd8711b8459a13d315d53d80bbf 100644
(file)
--- a/
src/mesa/tnl/t_vb_arbprogram.c
+++ b/
src/mesa/tnl/t_vb_arbprogram.c
@@
-832,6
+832,7
@@
static struct reg cvp_load_reg( struct compilation *cp,
switch (file) {
case PROGRAM_TEMPORARY:
+ assert(REG_TMP0 + index <= REG_TMP11);
return cvp_make_reg(FILE_REG, REG_TMP0 + index);
case PROGRAM_INPUT: