mesa: comments about vectors vs components

This commit is contained in:
Brian Paul 2008-07-14 11:20:58 -06:00 committed by Keith Whitwell
parent eb10fa3ed6
commit ce1685ce94
2 changed files with 3 additions and 3 deletions

View File

@ -190,8 +190,8 @@
#define MAX_PROGRAM_CALL_DEPTH 8 #define MAX_PROGRAM_CALL_DEPTH 8
#define MAX_PROGRAM_TEMPS 128 #define MAX_PROGRAM_TEMPS 128
#define MAX_PROGRAM_ADDRESS_REGS 2 #define MAX_PROGRAM_ADDRESS_REGS 2
#define MAX_UNIFORMS 128 #define MAX_UNIFORMS 128 /**< number of float components */
#define MAX_VARYING 8 #define MAX_VARYING 8 /**< number of float[4] vectors */
#define MAX_SAMPLERS 8 #define MAX_SAMPLERS 8
/*@}*/ /*@}*/

View File

@ -2497,7 +2497,7 @@ struct gl_constants
GLuint MaxRenderbufferSize; GLuint MaxRenderbufferSize;
/* GL_ARB_vertex_shader */ /* GL_ARB_vertex_shader */
GLuint MaxVertexTextureImageUnits; GLuint MaxVertexTextureImageUnits;
GLuint MaxVarying; GLuint MaxVarying; /**< Number of float[4] vectors */
}; };