asahi: Relax assert in decoder
authorAlyssa Rosenzweig <alyssa@rosenzweig.io>
Wed, 10 Aug 2022 01:53:59 +0000 (21:53 -0400)
committerMarge Bot <emma+marge@anholt.net>
Sun, 4 Sep 2022 18:05:31 +0000 (18:05 +0000)
Seen == 0x8 with >4 render targets.

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

src/asahi/lib/decode.c

index 80a35e2..a31a27b 100644 (file)
@@ -544,7 +544,7 @@ agxdecode_cmdstream(unsigned cmdbuf_handle, unsigned map_handle, bool verbose)
    agxdecode_stateful(*encoder, "Encoder", agxdecode_cmd, verbose);
 
    if (pip.clear_pipeline_unk) {
-      assert(pip.clear_pipeline_unk == 0x4);
+      fprintf(agxdecode_dump_stream, "Unk: %X\n", pip.clear_pipeline_unk);
       agxdecode_stateful(pip.clear_pipeline, "Clear pipeline",
             agxdecode_pipeline, verbose);
    }