Add a size parameter to _mesa_add_unnamed_constant() and

_mesa_add_named_constant() to indicate vector size (1, 2, 3 or 4).
Always 4 for now...
This commit is contained in:
Brian Paul
2006-11-15 23:38:02 +00:00
parent 699a33ea77
commit 0c6723aee5
9 changed files with 19 additions and 15 deletions

View File

@@ -238,11 +238,12 @@ _mesa_add_named_parameter(struct gl_program_parameter_list *paramList,
extern GLint
_mesa_add_named_constant(struct gl_program_parameter_list *paramList,
const char *name, const GLfloat values[4]);
const char *name, const GLfloat values[4],
GLuint size);
extern GLint
_mesa_add_unnamed_constant(struct gl_program_parameter_list *paramList,
const GLfloat values[4]);
const GLfloat values[4], GLuint size);
extern GLint
_mesa_add_state_reference(struct gl_program_parameter_list *paramList,