diff options
author | José Fonseca <jfonseca@vmware.com> | 2010-02-14 13:26:37 +0000 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2010-02-14 13:26:37 +0000 |
commit | 9189d04cdb55dd5d4d5d78d1a7edab30d4c25340 (patch) | |
tree | afae955e0e4dfe146738fa16bdd676b2d66b246b | |
parent | db2df0aa9b49e006de4fcfc4a0bab32ad0a30173 (diff) |
llvmpipe: Use util_format_name().
-rw-r--r-- | 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 15c10d8e2e..b7ae426763 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", |