radeonsi: don't print the base non-view texture format for AMD_TEST=computeblit
authorMarek Olšák <marek.olsak@amd.com>
Mon, 7 Nov 2022 02:44:06 +0000 (21:44 -0500)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Mar 2023 13:16:34 +0000 (13:16 +0000)
it's confusing in the output and it affects nothing

Reviewed-by: Pierre-Eric Pelloux-Prayer <pierre-eric.pelloux-prayer@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21860>

src/gallium/drivers/radeonsi/si_test_image_copy_region.c

index 94918f9..b7892c5 100644 (file)
@@ -770,13 +770,9 @@ void si_test_blit(struct si_screen *sscreen, unsigned test_flags)
 
       printf("%4u: dst = (", i);
       print_image_attrs(sscreen, (struct si_texture *)gfx_dst);
-      printf(", %20s as %20s), src = (",
-             util_format_description(tdst.format)->short_name,
-             util_format_short_name(info.dst.format));
+      printf(", %20s), src = (", util_format_short_name(info.dst.format));
       print_image_attrs(sscreen, (struct si_texture *)gfx_src);
-      printf(", %20s as %20s)",
-             util_format_description(tsrc.format)->short_name,
-             util_format_short_name(info.src.format));
+      printf(", %20s)", util_format_short_name(info.src.format));
       fflush(stdout);
 
       int src_width, src_height, src_depth, dst_width, dst_height, dst_depth;