diff options
author | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2021-07-24 14:27:35 -0400 |
---|---|---|
committer | Alyssa Rosenzweig <alyssa@rosenzweig.io> | 2021-07-24 14:27:35 -0400 |
commit | 5deb7c26d67bcb37daaeb1d5132393d81555f63c (patch) | |
tree | 59ebbd5adf59c4166f0b49de5c3b783c6ed3cca1 /src/asahi | |
parent | 8aa5ba4012b2b8fb5ca8fb615a917ea3fd76ba64 (diff) |
agx: Don't set helper invocation kill bit
In the future we'll need data flow analysis similar to what we do in
panfrost.
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12053>
Diffstat (limited to 'src/asahi')
-rw-r--r-- | src/asahi/compiler/agx_pack.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/asahi/compiler/agx_pack.c b/src/asahi/compiler/agx_pack.c index 11484ddf621..cb462f94daf 100644 --- a/src/asahi/compiler/agx_pack.c +++ b/src/asahi/compiler/agx_pack.c @@ -526,13 +526,13 @@ agx_pack_instr(struct util_dynarray *emission, struct util_dynarray *fixups, agx unsigned q1 = 0; // XXX unsigned q2 = 0; // XXX unsigned q3 = 12; // XXX - unsigned q4 = 1; // XXX + unsigned kill = 0; // helper invocation kill bit unsigned q5 = 0; // XXX unsigned q6 = 0; // XXX uint32_t extend = ((U & BITFIELD_MASK(5)) << 0) | - (q4 << 5) | + (kill << 5) | ((R >> 6) << 8) | ((C >> 6) << 10) | ((D >> 6) << 12) | |