diff options
author | Brian Paul <[email protected]> | 2006-11-16 20:59:11 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-11-16 20:59:11 +0000 |
commit | fa941e4267385427c27b5a35c29156b342cc3868 (patch) | |
tree | b98aa5ddd4f00c6baa16a270df7a4fa9910eb9cc /src/mesa/shader/program.c | |
parent | cba90c17adfaa18b6240a553939d2cd7a63c80d7 (diff) |
disable yesterday's _mesa_add_named_constant() change for now
Diffstat (limited to 'src/mesa/shader/program.c')
-rw-r--r-- | src/mesa/shader/program.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/shader/program.c b/src/mesa/shader/program.c index e903fd03051..e8824426d4f 100644 --- a/src/mesa/shader/program.c +++ b/src/mesa/shader/program.c @@ -440,12 +440,14 @@ _mesa_add_named_constant(struct gl_program_parameter_list *paramList, const char *name, const GLfloat values[4], GLuint size) { +#if 0 /* disable this for now -- we need to save the name! */ GLuint pos, swizzle; ASSERT(size == 4); /* XXX future feature */ /* check if we already have this constant */ if (_mesa_lookup_parameter_constant(paramList, values, 4, &pos, &swizzle)) { return pos; } +#endif return add_parameter(paramList, name, values, PROGRAM_CONSTANT); } |