X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=progs%2Frbug%2Ftex_info.c;h=60ed9e2149aaf20d0b955a9ae41a4143f2a40670;hb=b3b6bd5da1241086bda75431ddde6002e9353268;hp=4a21bae35966b4b777548a5584f1d2817130eb04;hpb=73fc09a7bf5c63b595251dc10997891c72ecb119;p=mesa.git diff --git a/progs/rbug/tex_info.c b/progs/rbug/tex_info.c index 4a21bae3596..60ed9e2149a 100644 --- a/progs/rbug/tex_info.c +++ b/progs/rbug/tex_info.c @@ -24,6 +24,7 @@ #include "pipe/p_compiler.h" #include "pipe/p_format.h" +#include "util/u_format.h" #include "util/u_memory.h" #include "util/u_debug.h" #include "util/u_network.h" @@ -60,7 +61,7 @@ static void talk() info = (struct rbug_proto_texture_info_reply *)header; debug_printf("%llu %s %u x %u x %u, block(%ux%u %u), last_level: %u, nr_samples: %u, usage: %u\n", - (unsigned long long)list->textures[i], pf_name(info->format), + (unsigned long long)list->textures[i], util_format_name(info->format), info->width[0], info->height[0], info->depth[0], info->blockw, info->blockh, info->blocksize, info->last_level, info->nr_samples, info->tex_usage);