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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user