summaryrefslogtreecommitdiffstats
path: root/src/mesa
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
parent77427a1e52ec8fc7547fe22af31a4480be90938a (diff)
downloadexternal_mesa3d-ebf58ea3a392cbaddc9341b9f68a57da4f333104.zip
external_mesa3d-ebf58ea3a392cbaddc9341b9f68a57da4f333104.tar.gz
external_mesa3d-ebf58ea3a392cbaddc9341b9f68a57da4f333104.tar.bz2
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')
-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 cac8cdc..e2ba65a 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