summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/trace
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-02-14 13:25:06 +0000
committerJosé Fonseca <[email protected]>2010-02-14 13:25:06 +0000
commit6f5e0539dc681b800bd08d14221751d0f3484280 (patch)
tree979a43c562ab5aa8878784d6bc3c2d6238b2edec /src/gallium/drivers/trace
parentee65faffc1ae878fc7998ca52f1c5e298ae61176 (diff)
trace: Use util_format_name().
Diffstat (limited to 'src/gallium/drivers/trace')
-rw-r--r--src/gallium/drivers/trace/tr_dump_state.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/trace/tr_dump_state.c b/src/gallium/drivers/trace/tr_dump_state.c
index 0e485dbae5a..7cbf7052875 100644
--- a/src/gallium/drivers/trace/tr_dump_state.c
+++ b/src/gallium/drivers/trace/tr_dump_state.c
@@ -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) );
}