cell: Use util_format_name().
authorJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:26:46 +0000 (13:26 +0000)
committerJosé Fonseca <jfonseca@vmware.com>
Sun, 14 Feb 2010 13:26:46 +0000 (13:26 +0000)
src/gallium/drivers/cell/ppu/cell_state_emit.c

index 282f05ba08b16881da94e3484fc69e82d723a420..a59c7828ac307c426e08f2d634a756653f8324cf 100644 (file)
@@ -28,6 +28,7 @@
 #include "util/u_inlines.h"
 #include "util/u_memory.h"
 #include "util/u_math.h"
+#include "util/u_format.h"
 #include "cell_context.h"
 #include "cell_gen_fragment.h"
 #include "cell_state.h"
@@ -207,8 +208,8 @@ cell_emit_state(struct cell_context *cell)
       fb->width = cell->framebuffer.width;
       fb->height = cell->framebuffer.height;
 #if 0
-      printf("EMIT color format %s\n", pf_name(fb->color_format));
-      printf("EMIT depth format %s\n", pf_name(fb->depth_format));
+      printf("EMIT color format %s\n", util_format_name(fb->color_format));
+      printf("EMIT depth format %s\n", util_format_name(fb->depth_format));
 #endif
    }