From: Brian Date: Sat, 27 Oct 2007 15:35:51 +0000 (-0600) Subject: s/256/TGSI_EXEC_NUM_IMMEDIATES/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=88c021a0d1ce81f5e3e6d972ae86c1efdb882e3c;p=mesa.git s/256/TGSI_EXEC_NUM_IMMEDIATES/ --- diff --git a/src/mesa/pipe/tgsi/exec/tgsi_exec.c b/src/mesa/pipe/tgsi/exec/tgsi_exec.c index c503bce1967..d16b8d50b6f 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;