summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXiang, Haihao <[email protected]>2007-08-17 13:36:13 -0400
committerRoland Scheidegger <[email protected]>2007-10-04 00:08:18 +0200
commit970d18a7080c1b609f2c0f00ddde266c99de26d4 (patch)
tree5f269616a8dd145c00e61eb79ba670739b2a6d2b
parent9456e7f0ff076ab4a6977287b8985d8df17af855 (diff)
Brian's fix for bug9829
-rw-r--r--src/mesa/main/texenvprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index 1a46c10ffa3..a6904f4ee9d 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)