gallium/util: move debug_print_tranfer_flags to u_debug_galilum

This also appears to be unused.

Tested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
This commit is contained in:
Dylan Baker
2018-09-21 11:07:57 -07:00
parent fc39dc9841
commit 68074dfa0e
4 changed files with 16 additions and 21 deletions
-18
View File
@@ -31,7 +31,6 @@
#include "pipe/p_compiler.h"
#include "util/u_debug.h"
#include "util/u_dump.h"
#include "pipe/p_format.h"
#include "pipe/p_state.h"
#include "util/u_inlines.h"
@@ -442,20 +441,3 @@ debug_funclog_enter_exit(const char* f, UNUSED const int line,
debug_printf("%s\n", f);
}
#endif
#ifdef DEBUG
/**
* Print PIPE_TRANSFER_x flags with a message.
*/
void
debug_print_transfer_flags(const char *msg, unsigned usage)
{
debug_printf("%s: ", msg);
util_dump_transfer_usage(stdout, usage);
printf("\n");
}
#endif
-3
View File
@@ -461,9 +461,6 @@ void
debug_memory_end(unsigned long beginning);
void
debug_print_transfer_flags(const char *msg, unsigned usage);
#ifdef __cplusplus
}
#endif
@@ -29,6 +29,7 @@
#include "util/u_debug.h"
#include "u_debug_gallium.h"
#include "u_dump.h"
#include "u_format.h"
#ifdef DEBUG
@@ -40,6 +41,18 @@ debug_print_format(const char *msg, unsigned fmt)
}
/**
* Print PIPE_TRANSFER_x flags with a message.
*/
void
debug_print_transfer_flags(const char *msg, unsigned usage)
{
debug_printf("%s: ", msg);
util_dump_transfer_usage(stdout, usage);
printf("\n");
}
/**
* Print PIPE_BIND_x flags with a message.
*/
@@ -43,6 +43,9 @@ void debug_print_format(const char *msg, unsigned fmt);
#ifdef DEBUG
void
debug_print_transfer_flags(const char *msg, unsigned usage);
void
debug_print_bind_flags(const char *msg, unsigned usage);