summaryrefslogtreecommitdiff
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2006-08-24 23:28:01 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2006-08-24 23:28:01 +0000
commitebf58ea3a392cbaddc9341b9f68a57da4f333104 (patch)
tree9e38b4220ac9c46d990c8477c720ec2ebe923c0f /src/mesa/main/config.h
parent77427a1e52ec8fc7547fe22af31a4480be90938a (diff)
According to GL_NV_fragment_program, max frag prog length is 1024 instructions.
Updated MAX_NV_FRAGMENT_PROGRAM_INSTRUCTIONS to 1024.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index cac8cdcbc4..e2ba65ac63 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -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