Mesa (master): llvmpipe: Use util_format_name().

Jose Fonseca jrfonseca at kemper.freedesktop.org
Sun Feb 14 13:29:30 UTC 2010


Module: Mesa
Branch: master
Commit: 9189d04cdb55dd5d4d5d78d1a7edab30d4c25340
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=9189d04cdb55dd5d4d5d78d1a7edab30d4c25340

Author: José Fonseca <jfonseca at vmware.com>
Date:   Sun Feb 14 13:26:37 2010 +0000

llvmpipe: Use util_format_name().

---

 src/gallium/drivers/llvmpipe/lp_state_fs.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 15c10d8..b7ae426 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -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",




More information about the mesa-commit mailing list