util: Dump PIPE_FUNC_x value names.

This commit is contained in:
José Fonseca
2009-08-19 20:39:51 +01:00
parent d6d4f8b66e
commit b5e397c369
2 changed files with 29 additions and 0 deletions
+27
View File
@@ -160,3 +160,30 @@ debug_dump_blend_func_short_names[] = {
};
DEFINE_DEBUG_DUMP_CONTINUOUS(blend_func)
static const char *
debug_dump_func_names[] = {
"PIPE_FUNC_NEVER",
"PIPE_FUNC_LESS",
"PIPE_FUNC_EQUAL",
"PIPE_FUNC_LEQUAL",
"PIPE_FUNC_GREATER",
"PIPE_FUNC_NOTEQUAL",
"PIPE_FUNC_GEQUAL",
"PIPE_FUNC_ALWAYS"
};
static const char *
debug_dump_func_short_names[] = {
"never",
"less",
"equal",
"less_equal",
"greater",
"not_equal",
"greater_equal",
"always"
};
DEFINE_DEBUG_DUMP_CONTINUOUS(func)
@@ -51,6 +51,8 @@ debug_dump_blend_factor(unsigned value, boolean shortened);
const char *
debug_dump_blend_func(unsigned value, boolean shortened);
const char *
debug_dump_func(unsigned value, boolean shortened);
/* FIXME: Move the other debug_dump_xxx functions out of u_debug.h into here. */