diff options
author | Nicolai Hähnle <[email protected]> | 2017-07-27 11:40:25 +0200 |
---|---|---|
committer | Nicolai Hähnle <[email protected]> | 2017-08-02 09:46:24 +0200 |
commit | 16923e42a419048b61b72f8fdae2aed32cf1212a (patch) | |
tree | ef99ab2dd714d518afe9db2b48ed7b673d5ccd90 /src/gallium/auxiliary/util/u_dump_state.c | |
parent | a677799e51a8d3651a8c963dac0a09ff0b282d63 (diff) |
gallium: rename util_dump_* to util_str_* for enum-to-string conversion
This is mostly mechanical search-and-replace, plus touching up the
macros in u_dump_defines.c manually a bit.
Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary/util/u_dump_state.c')
-rw-r--r-- | src/gallium/auxiliary/util/u_dump_state.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/gallium/auxiliary/util/u_dump_state.c b/src/gallium/auxiliary/util/u_dump_state.c index c62229a5fe1..70bbf5c9fad 100644 --- a/src/gallium/auxiliary/util/u_dump_state.c +++ b/src/gallium/auxiliary/util/u_dump_state.c @@ -232,55 +232,55 @@ util_dump_format(FILE *stream, enum pipe_format format) static void util_dump_enum_blend_factor(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_blend_factor(value, TRUE)); + util_dump_enum(stream, util_str_blend_factor(value, TRUE)); } static void util_dump_enum_blend_func(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_blend_func(value, TRUE)); + util_dump_enum(stream, util_str_blend_func(value, TRUE)); } static void util_dump_enum_func(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_func(value, TRUE)); + util_dump_enum(stream, util_str_func(value, TRUE)); } static void util_dump_enum_prim_mode(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_prim_mode(value, TRUE)); + util_dump_enum(stream, util_str_prim_mode(value, TRUE)); } static void util_dump_enum_tex_target(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_tex_target(value, TRUE)); + util_dump_enum(stream, util_str_tex_target(value, TRUE)); } static void util_dump_enum_tex_filter(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_tex_filter(value, TRUE)); + util_dump_enum(stream, util_str_tex_filter(value, TRUE)); } static void util_dump_enum_tex_mipfilter(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_tex_mipfilter(value, TRUE)); + util_dump_enum(stream, util_str_tex_mipfilter(value, TRUE)); } static void util_dump_enum_tex_wrap(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_tex_wrap(value, TRUE)); + util_dump_enum(stream, util_str_tex_wrap(value, TRUE)); } static void util_dump_enum_stencil_op(FILE *stream, unsigned value) { - util_dump_enum(stream, util_dump_stencil_op(value, TRUE)); + util_dump_enum(stream, util_str_stencil_op(value, TRUE)); } |