diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-27 09:35:51 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-27 09:35:51 -0600 |
commit | 88c021a0d1ce81f5e3e6d972ae86c1efdb882e3c (patch) | |
tree | 6514d53797257d415739fceca07457596eea1cbe | |
parent | 0c2bcedf9a1c924d672f4ec1b0f7d8af7a9df876 (diff) | |
download | external_mesa3d-88c021a0d1ce81f5e3e6d972ae86c1efdb882e3c.zip external_mesa3d-88c021a0d1ce81f5e3e6d972ae86c1efdb882e3c.tar.gz external_mesa3d-88c021a0d1ce81f5e3e6d972ae86c1efdb882e3c.tar.bz2 |
s/256/TGSI_EXEC_NUM_IMMEDIATES/
-rw-r--r-- | src/mesa/pipe/tgsi/exec/tgsi_exec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c index c503bce..d16b8d5 100644 --- 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; |