projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c2bced
)
s/256/TGSI_EXEC_NUM_IMMEDIATES/
author
Brian
<brian.paul@tungstengraphics.com>
Sat, 27 Oct 2007 15:35:51 +0000
(09:35 -0600)
committer
Brian
<brian.paul@tungstengraphics.com>
Sat, 27 Oct 2007 15:35:51 +0000
(09:35 -0600)
src/mesa/pipe/tgsi/exec/tgsi_exec.c
patch
|
blob
|
history
diff --git
a/src/mesa/pipe/tgsi/exec/tgsi_exec.c
b/src/mesa/pipe/tgsi/exec/tgsi_exec.c
index c503bce19673c415edca4a7a5b2f2054febd6c0c..d16b8d50b6f40a055c3a0715d4e4daeec461cdbc 100644
(file)
--- a/
src/mesa/pipe/tgsi/exec/tgsi_exec.c
+++ b/
src/mesa/pipe/tgsi/exec/tgsi_exec.c
@@
-173,7
+173,7
@@
tgsi_exec_prepare( struct tgsi_exec_machine *mach )
{
uint size = parse.FullToken.FullImmediate.Immediate.Size - 1;
assert( size % 4 == 0 );
- assert( mach->ImmLimit + size / 4 <=
256
);
+ assert( mach->ImmLimit + size / 4 <=
TGSI_EXEC_NUM_IMMEDIATES
);
for( i = 0; i < size; i++ ) {
mach->Imms[mach->ImmLimit + i / 4][i % 4] = parse.FullToken.FullImmediate.u.ImmediateFloat32[i].Float;