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 b84a647..e5b7769 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("},");