summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Romanick <ian.d.romanick@intel.com>2009-11-04 11:41:27 -0800
committerIan Romanick <ian.d.romanick@intel.com>2009-11-04 11:41:27 -0800
commit0ceed809bf7399d9094e481a4b897ef4e0c78bb5 (patch)
tree8f17585d4a0e348d5e414496f294cb5dffef6b5e
parentfe619d976ba03d756b0f7a6b0410437d20a4c211 (diff)
Ensure MAX_PROGRAM_OUTPUTS is large enough
There are still only 32 outputs possible, but some of the outputs are numbered higher than 32. Since MAX_PROGRAM_OUTPUTS is used to size some arrays, it needs to be increased.
-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 8a09efdb53..c5048970cc 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -205,7 +205,7 @@
#define MAX_VARYING 16 /**< number of float[4] vectors */
#define MAX_SAMPLERS MAX_TEXTURE_IMAGE_UNITS
#define MAX_PROGRAM_INPUTS 32
-#define MAX_PROGRAM_OUTPUTS 32
+#define MAX_PROGRAM_OUTPUTS 64
/*@}*/
/** For GL_ARB_vertex_program */