summaryrefslogtreecommitdiff
path: root/src/mesa
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-09-25 18:40:16 -0600
committerBrian Paul <brian.paul@tungstengraphics.com>2008-09-25 18:40:16 -0600
commit3f99f501db2582e241851e63e432c18e2de415be (patch)
treea68578a1449db906d1198c9c85d86405cbcbe24a /src/mesa
parent006fb638188f083d64a2427cd28979b432622f3e (diff)
mesa: increase MAX_INSTRUCTIONS
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/main/texenvprogram.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/mesa/main/texenvprogram.c b/src/mesa/main/texenvprogram.c
index c699c43429..c64d88faf9 100644
--- a/src/mesa/main/texenvprogram.c
+++ b/src/mesa/main/texenvprogram.c
@@ -37,11 +37,9 @@
#include "texenvprogram.h"
/**
- * This MAX is probably a bit generous, but that's OK. There can be
- * up to four instructions per texture unit (TEX + 3 for combine),
- * then there's fog and specular add.
+ * Up to nine instructions per tex unit, plus fog, specular color.
*/
-#define MAX_INSTRUCTIONS ((MAX_TEXTURE_UNITS * 4) + 12)
+#define MAX_INSTRUCTIONS ((MAX_TEXTURE_UNITS * 9) + 12)
#define DISASSEM (MESA_VERBOSE & VERBOSE_DISASSEM)