diff options
author | Xiang, Haihao <haihao.xiang@intel.com> | 2007-08-17 13:36:13 -0400 |
---|---|---|
committer | Xiang, Haihao <haihao.xiang@intel.com> | 2007-08-17 13:36:13 -0400 |
commit | dcfdb63b9fde8134562cb3a4e779a36e0abb4ae5 (patch) | |
tree | 8857a0876094b98547fe5da5b2a4752b041c0eeb /src | |
parent | 00b86ecf6f2f936bad6d628622ea5546c780ab8d (diff) |
Brian's fix for bug9829
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/main/texenvprogram.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c index 72b54b27d9..9c84da985e 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) |