open-src/lib/mesa/maxtexunit.patch
changeset 183 722ed220347e
child 220 f63de0b6ae2b
equal deleted inserted replaced
182:b0fbde156bb3 183:722ed220347e
       
     1 --- src/mesa/main/texenvprogram.c	Fri Nov 17 05:31:59 2006
       
     2 +++ src/mesa/main/texenvprogram.c	Tue Jun 26 10:09:24 2007
       
     3 @@ -34,10 +34,10 @@
       
     4  #include "shader/program_instruction.h"
       
     5  
       
     6  /**
       
     7 - * According to Glean's texCombine test, no more than 21 instructions
       
     8 - * are needed.  Allow a few extra just in case.
       
     9 + * Intel 965 allows maximum 8 textures, so 24 instructions are needed now.
       
    10 + * Allow a few extra just in case.
       
    11   */
       
    12 -#define MAX_INSTRUCTIONS 24
       
    13 +#define MAX_INSTRUCTIONS 27
       
    14  
       
    15  #define DISASSEM (MESA_VERBOSE & VERBOSE_DISASSEM)
       
    16