summaryrefslogtreecommitdiffstats
path: root/src/mesa/shader/program.h
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2006-11-15 23:38:02 +0000
committerBrian Paul <[email protected]>2006-11-15 23:38:02 +0000
commit0c6723aee564a7b320ca122c3c9b003c863cc714 (patch)
treeb7bf0782f986371da4deab676ced10229391d105 /src/mesa/shader/program.h
parent699a33ea77ecd164d7435811258eee96bd37aaa2 (diff)
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...
Diffstat (limited to 'src/mesa/shader/program.h')
-rw-r--r--src/mesa/shader/program.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/mesa/shader/program.h b/src/mesa/shader/program.h
index 3f84ea8a403..a38a1a63f9c 100644
--- a/src/mesa/shader/program.h
+++ b/src/mesa/shader/program.h
@@ -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,