diff options
| author | Brian Paul <brian.paul@tungstengraphics.com> | 2008-07-14 11:20:58 -0600 | 
|---|---|---|
| committer | Keith Whitwell <keith@tungstengraphics.com> | 2008-09-21 22:13:57 -0700 | 
| commit | ce1685ce947545fac8c254cafdc0f133b6202ca9 (patch) | |
| tree | 1b9d13d930dbb7242f4428b9213ede567e765c3d /src | |
| parent | eb10fa3ed6262a8103e5f3f579b2ec2b9d72afa9 (diff) | |
mesa: comments about vectors vs components
Diffstat (limited to 'src')
| -rw-r--r-- | src/mesa/main/config.h | 4 | ||||
| -rw-r--r-- | src/mesa/main/mtypes.h | 2 | 
2 files changed, 3 insertions, 3 deletions
diff --git a/src/mesa/main/config.h b/src/mesa/main/config.h index 7fe88b07ea..882e2f224a 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 eb284d7673..9f49e3c5e9 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2497,7 +2497,7 @@ struct gl_constants     GLuint MaxRenderbufferSize;     /* GL_ARB_vertex_shader */     GLuint MaxVertexTextureImageUnits; -   GLuint MaxVarying; +   GLuint MaxVarying;  /**< Number of float[4] vectors */  };  | 
