aboutsummaryrefslogtreecommitdiffstats
path: root/src/panfrost/bifrost
diff options
context:
space:
mode:
authorAlyssa Rosenzweig <[email protected]>2020-06-01 17:36:35 -0400
committerMarge Bot <[email protected]>2020-06-03 22:58:46 +0000
commitbc7397f37633eccac6709af55033533682620387 (patch)
treeea276d593308768af4368eb6f50d2217486b8203 /src/panfrost/bifrost
parent3e4a0c2bca32fcf9f13363fa0c54b6a9b70c086b (diff)
pan/bi: Disassemble gl_PointCoord reads.
Signed-off-by: Alyssa Rosenzweig <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5290>
Diffstat (limited to 'src/panfrost/bifrost')
-rw-r--r--src/panfrost/bifrost/disassemble.c4
1 files changed, 3 insertions, 1 deletions
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");