util: Rename pipe_debug_type to util_debug_type
Signed-off-by: Yonggang Luo <luoyonggang@gmail.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15657>
This commit is contained in:
+1
-1
@@ -428,7 +428,7 @@ u_uintN_max(unsigned bit_size)
|
||||
/* TODO: In future we should try to move this to u_debug.h once header
|
||||
* dependencies are reorganised to allow this.
|
||||
*/
|
||||
enum pipe_debug_type
|
||||
enum util_debug_type
|
||||
{
|
||||
PIPE_DEBUG_TYPE_OUT_OF_MEMORY = 1,
|
||||
PIPE_DEBUG_TYPE_ERROR,
|
||||
|
||||
+1
-1
@@ -68,7 +68,7 @@ _debug_vprintf(const char *format, va_list ap)
|
||||
void
|
||||
_util_debug_message(struct util_debug_callback *cb,
|
||||
unsigned *id,
|
||||
enum pipe_debug_type type,
|
||||
enum util_debug_type type,
|
||||
const char *fmt, ...)
|
||||
{
|
||||
va_list args;
|
||||
|
||||
+1
-1
@@ -281,7 +281,7 @@ void
|
||||
_util_debug_message(
|
||||
struct util_debug_callback *cb,
|
||||
unsigned *id,
|
||||
enum pipe_debug_type type,
|
||||
enum util_debug_type type,
|
||||
const char *fmt, ...) _util_printf_format(4, 5);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user