gallium: Fix mesa format name in unit test failure path.
authorEric Anholt <eric@anholt.net>
Thu, 15 Aug 2019 22:00:10 +0000 (15:00 -0700)
committerEric Anholt <eric@anholt.net>
Wed, 28 Aug 2019 17:39:36 +0000 (10:39 -0700)
We clearly wanted the mesa format here.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Acked-by: Adam Jackson <ajax@redhat.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/state_tracker/tests/st_format.c

index 35225e1abf79cbd374e0d4ec937aa887999b5da0..12cb74bd0be34ca83276c16ff1f74f2ca4b32445 100644 (file)
@@ -92,7 +92,7 @@ int main(int argc, char **argv)
          if (pf != i) {
             fprintf(stderr, "Round-tripping %s -> %s -> %s failed\n",
                     util_format_short_name(i),
-                    _mesa_get_format_name(pf),
+                    _mesa_get_format_name(mf),
                     util_format_short_name(pf));
             return 1;
          }