freedreno/a6xx: Improve layout testcase logging for UBWC fails.
authorEric Anholt <eric@anholt.net>
Wed, 6 May 2020 18:40:51 +0000 (11:40 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 13 May 2020 19:18:16 +0000 (19:18 +0000)
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4931>

src/freedreno/fdl/fd6_layout_test.c

index 378e6f1..a30b089 100644 (file)
@@ -431,7 +431,7 @@ static bool test_layout(const struct testcase *testcase)
                }
 
                if (layout.ubwc_slices[l].offset != testcase->layout.ubwc_slices[l].offset) {
-                       fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: offset 0x%x != 0x%x\n",
+                       fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: UBWC offset 0x%x != 0x%x\n",
                                        util_format_short_name(testcase->format),
                                        layout.width0, layout.height0, layout.depth0,
                                        layout.nr_samples, l,
@@ -440,7 +440,7 @@ static bool test_layout(const struct testcase *testcase)
                        ok = false;
                }
                if (layout.ubwc_slices[l].pitch != testcase->layout.ubwc_slices[l].pitch) {
-                       fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: pitch %d != %d\n",
+                       fprintf(stderr, "%s %dx%dx%d@%dx lvl%d: UBWC pitch %d != %d\n",
                                        util_format_short_name(testcase->format),
                                        layout.width0, layout.height0, layout.depth0,
                                        layout.nr_samples, l,