summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2008-07-14 11:20:58 -0600
committerBrian Paul <[email protected]>2008-07-14 16:00:35 -0600
commit51654783ef0aa48560f70cd3944128a94a87d86b (patch)
tree119b05668435fc3538fa76f113167e52eeea7295
parente7fd3de9277a0c5efe52966908da8e4e7f1995ee (diff)
mesa: comments about vectors vs components
-rw-r--r--src/mesa/main/config.h4
-rw-r--r--src/mesa/main/mtypes.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h
index 9ff0b708ddb..f8109ec755c 100644
--- a/src/mesa/main/config.h
+++ b/src/mesa/main/config.h
@@ -190,8 +190,8 @@
#define MAX_PROGRAM_CALL_DEPTH 8
#define MAX_PROGRAM_TEMPS 128
#define MAX_PROGRAM_ADDRESS_REGS 2
-#define MAX_UNIFORMS 128
-#define MAX_VARYING 8
+#define MAX_UNIFORMS 128 /**< number of float components */
+#define MAX_VARYING 8 /**< number of float[4] vectors */
#define MAX_SAMPLERS 8
/*@}*/
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h
index 2d6be1983c6..88312da7f05 100644
--- a/src/mesa/main/mtypes.h
+++ b/src/mesa/main/mtypes.h
@@ -2519,7 +2519,7 @@ struct gl_constants
GLuint MaxRenderbufferSize;
/* GL_ARB_vertex_shader */
GLuint MaxVertexTextureImageUnits;
- GLuint MaxVarying;
+ GLuint MaxVarying; /**< Number of float[4] vectors */
};