diff options
author | Brian Paul <[email protected]> | 2008-11-24 09:04:52 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-01-06 08:52:49 -0700 |
commit | af988262e318629cc29d11171889c5bc5efd3096 (patch) | |
tree | 9ace42b072677412ff5f22a27c24f7da18dd63d3 /src/mesa/shader/prog_print.c | |
parent | 64de78723cb140d6de24678d298f58cd24aed02c (diff) |
mesa: rename program parameter flags to match other Mesa conventions
(cherry picked from commit f490ec9797a396da9d182f1ad4393f1c5c2df440)
Diffstat (limited to 'src/mesa/shader/prog_print.c')
-rw-r--r-- | src/mesa/shader/prog_print.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mesa/shader/prog_print.c b/src/mesa/shader/prog_print.c index 7049c3c9d06..29b4d90a3e8 100644 --- a/src/mesa/shader/prog_print.c +++ b/src/mesa/shader/prog_print.c @@ -818,13 +818,13 @@ _mesa_print_parameter_list(const struct gl_program_parameter_list *list) i, param->Size, file_string(list->Parameters[i].Type, mode), param->Name, v[0], v[1], v[2], v[3]); - if (param->Flags & PROG_PARAM_CENTROID_BIT) + if (param->Flags & PROG_PARAM_BIT_CENTROID) _mesa_printf(" Centroid"); - if (param->Flags & PROG_PARAM_INVARIANT_BIT) + if (param->Flags & PROG_PARAM_BIT_INVARIANT) _mesa_printf(" Invariant"); - if (param->Flags & PROG_PARAM_FLAT_BIT) + if (param->Flags & PROG_PARAM_BIT_FLAT) _mesa_printf(" Flat"); - if (param->Flags & PROG_PARAM_LINEAR_BIT) + if (param->Flags & PROG_PARAM_BIT_LINEAR) _mesa_printf(" Linear"); _mesa_printf("\n"); } |