pan/bi: Disassemble gl_PointCoord reads.
authorAlyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Mon, 1 Jun 2020 21:36:35 +0000 (17:36 -0400)
committerMarge Bot <eric+marge@anholt.net>
Wed, 3 Jun 2020 22:58:46 +0000 (22:58 +0000)
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5290>

src/panfrost/bifrost/disassemble.c

index 53654280d566f7a3c5cd83cb9fa10f66e6a198db..c3b7fe6c4138eed5a7ae961312edc191792323fb 100644 (file)
@@ -1558,7 +1558,9 @@ static void dump_add(FILE *fp, uint64_t word, struct bifrost_regs regs,
                         // direct addr
                         fprintf(fp, "%d", addr);
                 } else if (addr < 0b11000) {
-                        if (addr == 22)
+                        if (addr == 20)
+                                fprintf(fp, "pointcoord");
+                        else if (addr == 22)
                                 fprintf(fp, "fragw");
                         else if (addr == 23)
                                 fprintf(fp, "fragz");