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

index 15c10d8e2e488f1ac976de139386faab11a3da8a..b7ae426763f5f36418064ad4ccacbf80aee36c54 100644 (file)
@@ -861,7 +861,7 @@ generate_variant(struct llvmpipe_context *lp,
 
       tgsi_dump(shader->base.tokens, 0);
       if(key->depth.enabled) {
-         debug_printf("depth.format = %s\n", pf_name(key->zsbuf_format));
+         debug_printf("depth.format = %s\n", util_format_name(key->zsbuf_format));
          debug_printf("depth.func = %s\n", debug_dump_func(key->depth.func, TRUE));
          debug_printf("depth.writemask = %u\n", key->depth.writemask);
       }
@@ -885,7 +885,7 @@ generate_variant(struct llvmpipe_context *lp,
          if(key->sampler[i].format) {
             debug_printf("sampler[%u] = \n", i);
             debug_printf("  .format = %s\n",
-                         pf_name(key->sampler[i].format));
+                         util_format_name(key->sampler[i].format));
             debug_printf("  .target = %s\n",
                          debug_dump_tex_target(key->sampler[i].target, TRUE));
             debug_printf("  .pot = %u %u %u\n",