According to GL_NV_fragment_program, max frag prog length is 1024 instructions.
authorBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Aug 2006 23:28:01 +0000 (23:28 +0000)
committerBrian Paul <brian.paul@tungstengraphics.com>
Thu, 24 Aug 2006 23:28:01 +0000 (23:28 +0000)
Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.

src/mesa/main/config.h

index cac8cdcbc4065c262ed11af59d21c0513bf102d6..e2ba65ac63b84aa29686e06f53e997af5020ca52 100644 (file)
 
 /** For GL_NV_fragment_program */
 /*@{*/
-#define MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS 128
+#define MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS 1024 /* 72 for GL_ARB_f_p */
 #define MAX_NV_FRAGMENT_PROGRAM_TEMPS         96
 #define MAX_NV_FRAGMENT_PROGRAM_PARAMS        64
 #define MAX_NV_FRAGMENT_PROGRAM_INPUTS        12