trace: Use util_format_name().
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:25:06 +0000 (13:25 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:25:06 +0000 (13:25 +0000)
src/gallium/drivers/trace/tr_dump_state.c

index 0e485dbae5aa855d028b0c0d74030313ee17b9fe..7cbf705287580bf4536af3f0198cf281d77fc021 100644 (file)
@@ -28,6 +28,7 @@
 
 #include "pipe/p_compiler.h"
 #include "util/u_memory.h"
+#include "util/u_format.h"
 #include "tgsi/tgsi_dump.h"
 
 #include "tr_dump.h"
@@ -39,7 +40,7 @@ void trace_dump_format(enum pipe_format format)
    if (!trace_dumping_enabled_locked())
       return;
 
-   trace_dump_enum(pf_name(format) );
+   trace_dump_enum(util_format_name(format) );
 }