pan/decode: Fix tiler weights printing
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Fri, 28 Feb 2020 12:25:07 +0000 (07:25 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 3 Mar 2020 00:03:50 +0000 (00:03 +0000)
Theoretical - still always zero.

Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4025>

src/panfrost/pandecode/decode.c

index b84a6473fb9cb70a143a5bd8db84989fb1e300fe..e5b7769942bf2855b651e0e8e1d92b50af71cd7a 100644 (file)
@@ -613,10 +613,10 @@ pandecode_midgard_tiler_descriptor(
         }
 
         if (nonzero_weights) {
-                pandecode_log(".weights = {");
+                pandecode_log(".weights = { ");
 
                 for (unsigned w = 0; w < ARRAY_SIZE(t->weights); ++w) {
-                        pandecode_log("%d, ", t->weights[w]);
+                        pandecode_log_cont("%d, ", t->weights[w]);
                 }
 
                 pandecode_log("},");