summaryrefslogtreecommitdiff
path: root/src/mesa/main/config.h
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 13:04:04 -0700
committerBrian Paul <brian.paul@tungstengraphics.com>2008-11-24 13:05:54 -0700
commitb730d0d3e9b202b17a0815cb820fc9905f35cb98 (patch)
treef2bba95c89dd434b0e3bdc598de7d361d59b114c /src/mesa/main/config.h
parentd52e8543b61ec5b8b8d9b1574a28ae2472fe4c56 (diff)
mesa: add gl_program::Input/OutputFlags[] array
These arrays will indicate per-input or per-output options for vertex/fragment programs such as centroid-sampling and invariance.
Diffstat (limited to 'src/mesa/main/config.h')
-rw-r--r--src/mesa/main/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 882e2f224a..f1f12b8a0e 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -193,6 +193,8 @@
#define MAX_UNIFORMS 128 /**< number of float components */
#define MAX_VARYING 8 /**< number of float[4] vectors */
#define MAX_SAMPLERS 8
+#define MAX_PROGRAM_INPUTS 32
+#define MAX_PROGRAM_OUTPUTS 32
/*@}*/
/** For GL_NV_vertex_program */