gallium/util: move debug_print_usage_enum to the u_debug_gallium
[mesa.git] / src / gallium / auxiliary / util / u_debug_gallium.h
index 2e05e53c29d7922212930ff026c2f9412a6e16da..1e725275834437d37e7549c98af223f838500299 100644 (file)
@@ -29,6 +29,8 @@
 #ifndef _U_DEBUG_GALLIUM_H_
 #define _U_DEBUG_GALLIUM_H_
 
+#include "pipe/p_defines.h"
+
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -39,6 +41,13 @@ void debug_print_format(const char *msg, unsigned fmt);
 #define debug_print_format(_msg, _fmt) ((void)0)
 #endif
 
+#ifdef DEBUG
+
+void
+debug_print_usage_enum(const char *msg, enum pipe_resource_usage usage);
+
+#endif
+
 #ifdef __cplusplus
 }
 #endif