According to GL_NV_fragment_program, max frag prog length is 1024 instructions.

Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
This commit is contained in:
Brian Paul
2006-08-24 23:28:01 +00:00
parent 77427a1e52
commit ebf58ea3a3
+1 -1
View File
@@ -171,7 +171,7 @@
/** 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