panfrost: Print intended field when decoding
authorTomeu Vizoso <tomeu.vizoso@collabora.com>
Thu, 19 Dec 2019 13:02:54 +0000 (14:02 +0100)
committerMarge Bot <eric+marge@anholt.net>
Fri, 31 Jan 2020 06:02:31 +0000 (06:02 +0000)
Signed-off-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/merge_requests/3625>

src/panfrost/pandecode/decode.c

index 9da2aa4ea1a76475fa6abdb1a0b5174c1b5f98ee..3e832b6e3dbbad3a53efc4955060f1f1d8fd54db 100644 (file)
@@ -1999,7 +1999,7 @@ pandecode_texture(mali_ptr u,
 
         if (!f.unknown2) {
                 pandecode_msg("XXX: expected unknown texture bit set\n");
-                pandecode_prop("unknown2 = %" PRId32, f.unknown1);
+                pandecode_prop("unknown2 = %" PRId32, f.unknown2);
         }
 
         if (t->swizzle_zero) {