From: Xiang, Haihao Date: Fri, 17 Aug 2007 17:36:13 +0000 (-0400) Subject: Brian's fix for bug9829 X-Git-Tag: 062012170305~19325^2~136 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dcfdb63b9fde8134562cb3a4e779a36e0abb4ae5;p=profile%2Fivi%2Fmesa.git Brian's fix for bug9829 --- diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 72b54b2..9c84da9 100644 --- a/src/mesa/main/texenvprogram.c +++ b/src/mesa/main/texenvprogram.c @@ -38,7 +38,7 @@ * According to Glean's texCombine test, no more than 21 instructions * are needed. Allow a few extra just in case. */ -#define MAX_INSTRUCTIONS 24 +#define MAX_INSTRUCTIONS ((MAX_TEXTURE_UNITS * 6) + 10) /* see bug 9829 */ #define DISASSEM (MESA_VERBOSE & VERBOSE_DISASSEM)