Mesa (master): pan/bi: Disassemble gl_PointCoord reads.
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Wed Jun 3 23:11:25 UTC 2020
Module: Mesa
Branch: master
Commit: bc7397f37633eccac6709af55033533682620387
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=bc7397f37633eccac6709af55033533682620387
Author: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Date: Mon Jun 1 17:36:35 2020 -0400
pan/bi: Disassemble gl_PointCoord reads.
Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig at collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5290>
---
src/panfrost/bifrost/disassemble.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/src/panfrost/bifrost/disassemble.c b/src/panfrost/bifrost/disassemble.c
index 53654280d56..c3b7fe6c413 100644
--- a/src/panfrost/bifrost/disassemble.c
+++ b/src/panfrost/bifrost/disassemble.c
@@ -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");
More information about the mesa-commit
mailing list